{"id":18565034,"url":"https://github.com/greenbone/actions","last_synced_at":"2026-04-09T14:07:01.341Z","repository":{"id":39610733,"uuid":"369845883","full_name":"greenbone/actions","owner":"greenbone","description":"GitHub Actions for Greenbone projects","archived":false,"fork":false,"pushed_at":"2024-09-16T16:03:25.000Z","size":2217,"stargazers_count":7,"open_issues_count":6,"forks_count":6,"subscribers_count":22,"default_branch":"main","last_synced_at":"2024-09-17T07:09:22.852Z","etag":null,"topics":["actions","automation","devops","github-actions","lint","python","release","release-automation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenbone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-22T15:42:03.000Z","updated_at":"2024-09-16T06:03:44.000Z","dependencies_parsed_at":"2024-03-25T12:29:09.619Z","dependency_job_id":"2514ea60-a955-436c-9765-73859db1f523","html_url":"https://github.com/greenbone/actions","commit_stats":null,"previous_names":[],"tags_count":237,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenbone","download_url":"https://codeload.github.com/greenbone/actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248157539,"owners_count":21057034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","automation","devops","github-actions","lint","python","release","release-automation"],"created_at":"2024-11-06T22:17:26.692Z","updated_at":"2026-02-17T09:02:28.256Z","avatar_url":"https://github.com/greenbone.png","language":"Python","readme":"![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)\n\n# Greenbone GitHub Actions\n\nRepository that contains a collection of GitHub Actions for Greenbone projects\n\n## Language specific Actions\n\nWe offer several actions for linting, formatting, building and testing packages/modules/projects in different programming languages\n\n### Python\n\n* [Install python, poetry and the project](https://github.com/greenbone/actions/tree/v2/poetry)\n* [Install python, poetry, project and run coverage to create a code coverage report](https://github.com/greenbone/actions/tree/v2/coverage-python)\n* [Install python, poetry, project and run linter](https://github.com/greenbone/actions/tree/v2/lint-python)\n* [Install python, poetry, project and and run mypy type checker](https://github.com/greenbone/actions/tree/v2/mypy-python)\n* [Install python, poetry, build python package and upload it to PyPI](https://github.com/greenbone/actions/tree/v2/pypi-upload)\n* [Setup python and pontos](https://github.com/greenbone/actions/tree/v2/setup-pontos)\n\n### JavaScript\n\n```yml\n- name: Install JavaScript and the project [npm]\n  uses: greenbone/actions/install-npm@v3\n  with:\n    version: 3.9\n    token: ${{ secrets.FOO_BAR }}\n- name: Install and check Lint and Format in JavaScript Projects [npm]\n  uses: greenbone/actions/lint-npm@v3\n  with:\n    version: 3.9\n    token: ${{ secrets.FOO_BAR }}\n- name: Install, Build and Test JavaScript Projects [npm]\n  uses: greenbone/actions/test-npm@v3\n  with:\n    version: 3.9\n    token: ${{ secrets.FOO_BAR }}\n- name: Run coverage for javascript\n  uses: greenbone/actions/coverage-js@v3\n```\n\n### GoLang\n\n```yml\n- name: Check Lint and Format in GoLang Projects\n  uses: greenbone/actions/lint-golang@v3\n  with:\n    version: \"1.18\"\n    generate: go generate # mocks, docs, etc\n    golangci-lint: v1.50 # specify golangci-lint version\n```\n\n### CLang\n\n```yml\n- name: upload documentation coverage to codecov.io for C Lang repository\n  uses: greenbone/actions/doc-coverage-clang@v3\n```\n\n## Language independent Actions\n### Branch protection\n\n* [Lock and unlock a branch in a GitHub repository](https://github.com/greenbone/actions/tree/v2/lock-branch)\n* [Allow and disallow admin users bypassing protection rules](https://github.com/greenbone/actions/tree/v2/admin-bypass)\n\n### Other useful actions\n\n* [Release a project in C, GoLang, JavaScript or Python](https://github.com/greenbone/actions/tree/v2/release)\n* [Create and upload signatures for GitHub release files](https://github.com/greenbone/actions/tree/v2/sign-release-files)\n* [Report usage of conventional commits in a Pull Request](https://github.com/greenbone/actions/tree/v2/conventional-commits)\n* [Check for consistent versioning in a project](https://github.com/greenbone/actions/tree/v2/check-version)\n* [Backport Pull Requests to other additional branches](https://github.com/greenbone/actions/tree/v2/backport-pull-request)\n* [Workflow notifications in Mattermost channels](https://github.com/greenbone/actions/tree/v2/mattermost-notify)\n* [Trigger Workflow Runs](https://github.com/greenbone/actions/tree/v2/trigger-workflow)\n* [Download Workflow Artifacts from a different workflow or even repository](https://github.com/greenbone/actions/tree/v2/trigger-workflow)\n\nUpdate license header supporting many different filetypes\n\n```yml\n- name: Run update header\n  uses: greenbone/actions/update-header@v3\n  with:\n    github-user: ${{ secrets.FOO_BAR }}\n    github-user-mail: foo@bar.baz\n    github-user-token: bar\n    directories: foo tests\n    target: main\n```\n\nSHA256 file or GPG signature generation\n\n```yml\n- name: Create a sha256sums file for the foo directory\n  uses: greenbone/actions/hashsums@v3\n  with:\n    directory: ./foo\n\n- name: Create a GPG signature\n  uses: greenbone/actions/signature@v3\n  with:\n    gpg-key: ${{ secrets.FOO_BAR }}\n    gpg-passphrase: ${{ secrets.FOO_BAZ }}\n    gpg-fingerprint: ${{ secrets.BAR_BAZ }}\n    file: ./foo/bar\n```\n\n## Support\n\nFor any question on the usage of the Greenbone actions please use the\n[Greenbone Community Forum](https://forum.greenbone.net/). If you\nfound a problem with the software, please\n[create an issue](https://github.com/greenbone/actions/issues)\non GitHub.\n\n## Maintainer\n\nThis project is maintained by [Greenbone AG](https://www.greenbone.net/).\n\n## License\n\nCopyright (C) 2020-2023 [Greenbone AG](https://www.greenbone.net/)\n\nLicensed under the [GNU General Public License v3.0 or later](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenbone%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Factions/lists"}