GitHub - KnowledgeCaptureAndDiscovery/somef-github-action Skip to content Sign up Sign up Why GitHub? Features → Mobile → Actions → Codespaces → Packages → Security → Code review → Project management → Integrations → GitHub Sponsors → Customer stories→ Team Enterprise Explore Explore GitHub → Learn and contribute Topics → Collections → Trending → Learning Lab → Open source guides → Connect with others The ReadME Project → Events → Community forum → GitHub Education → GitHub Stars program → Marketplace Pricing Plans → Compare plans → Contact Sales → Education → In this repository All GitHub ↵ Jump to ↵ No suggested jump to results In this repository All GitHub ↵ Jump to ↵ In this organization All GitHub ↵ Jump to ↵ In this repository All GitHub ↵ Jump to ↵ Sign in Sign up Sign up {{ message }} KnowledgeCaptureAndDiscovery / somef-github-action Notifications Star 3 Fork 0 Apache-2.0 License 3 stars 0 forks Star Notifications Code Issues 4 Pull requests 1 Actions Projects 0 Security Insights More Code Issues Pull requests Actions Projects Security Insights main Switch branches/tags Branches Tags Nothing to show {{ refName }} default View all branches Nothing to show {{ refName }} default View all tags 4 branches 1 tag Go to file Code Clone HTTPS GitHub CLI Use Git or checkout with SVN using the web URL. Work fast with our official CLI. Learn more. Open with GitHub Desktop Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Go back Launching Xcode If nothing happens, download Xcode and try again. Go back Launching Visual Studio If nothing happens, download the GitHub extension for Visual Studio and try again. Go back Latest commit   Git stats 36 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time .github/workflows     Dockerfile     LICENSE     README.md     action.yml     entrypoint.sh     View code SOMEF GitHub Action Basic usage Advanced workflow README.md SOMEF GitHub Action This action uses SOMEF to generate a .codemeta file and meet the recommendations from howfairis Basic usage In its more basic usage, the github action only uses SOMEF to generate a codemeta.json file. on: [push] jobs: somef_job: runs-on: ubuntu-latest name: Run SOMEF steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Chechout repo uses: actions/checkout@v2 # Use SOMEF generate codemeta.json - name: Somef with repo-url input uses: KnowledgeCaptureAndDiscovery/somef-github-action@main with: repo-url: "https://github.com/${{ github.repository }}" Advanced workflow A more advanced workflow uses howfairis and Create Pull Request actions to create a howfairis badge and send a pull request with the generated codemeta.json file if necessary: on: [push] jobs: somef_job: runs-on: ubuntu-latest name: Test somef steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Chechout repo uses: actions/checkout@v2 # Run howfairis - name: fair-software uses: fair-software/howfairis-github-action@0.1.0 with: MY_REPO_URL: "https://github.com/${{ github.repository }}" # Use SOMEF generate codemeta.json - name: Somef with repo-url input uses: KnowledgeCaptureAndDiscovery/somef-github-action@main with: repo-url: "https://github.com/${{ github.repository }}" # Create a PR - name: Create Pull Request uses: peter-evans/create-pull-request@v3.8.2 with: title: Generating codemeta template commit-message: Add codemeta.json template committer: GitHub author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> labels: automated pr branch: add-codemeta About No description, website, or topics provided. Resources Readme License Apache-2.0 License Releases 1 tags Packages 0 No packages published Contributors 3       Languages Shell 88.2% Dockerfile 11.8% © 2021 GitHub, Inc. Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About You can’t perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.