systemd/.github
Jan Macku 4dab1eb952 ci: Fix Development Freeze Automation
Due to the limitation of `GITHUB_TOKEN` when running workflows from forks,
it's required to split the `development_freeze` workflow in two.

* First workflow will run on the `pull_request` trigger and save the PR
number in the artifact. This workflow is running with read-only permissions
on `GITHUB_TOKEN`.
* Second workflow will get triggered on `workflow_run`. It will be run
directly in the `systemd/systemd` context and can get permission to be
able to create comments on PR.

GITHUB_TOKEN limitations:

* https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

GitHub Security Labs Article - How to correctly and safely overcome GITHUB_TOKEN limitations:

* https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
2023-02-03 14:03:39 +00:00
..
codeql-queries boot: Simplify object erasure 2023-01-09 18:58:54 +01:00
ISSUE_TEMPLATE github: update version in bug templates 2022-12-20 15:12:41 +01:00
workflows ci: Fix Development Freeze Automation 2023-02-03 14:03:39 +00:00
advanced-issue-labeler.yml ci(issue-labeler): Update to advanced-issue-labeler@v2 2022-09-07 10:43:48 +02:00
codeql-config.yml ci: drop LGTM stuff and move remaining bits into a new location 2022-09-13 21:32:15 +02:00
codeql-custom.qls ci: enable a couple more possibly useful CodeQL queries 2022-09-14 22:09:19 +02:00
dependabot.yml ci: update GHActions once a month 2022-01-29 19:26:14 +00:00
development-freeze.yml ci(dev-freeze): Use GitHub Action for PR comments 2022-11-05 14:10:01 +01:00
FUNDING.yml github: remove direct paypal link 2020-02-05 21:29:34 +09:00
labeler.yml github/labeller: fix yaml syntax 2023-01-26 10:42:05 +01:00