ci: auto-update pins for staging #311

Merged
fricklerhandwerk merged 14 commits from auto-npins-update into main 2024-11-01 12:00:42 +00:00
fricklerhandwerk commented 2024-10-31 19:26:43 +00:00 (Migrated from github.com)

we can extend this easily to also update the development pins. I suggest we keep them in sync, so there's no room for divergence, because breaking builds will hold up everything anyway, so we may just fix them for all outputs at once.

we can extend this easily to also update the development pins. I suggest we keep them in sync, so there's no room for divergence, because breaking builds will hold up everything anyway, so we may just fix them for all outputs at once.
RaitoBezarius (Migrated from github.com) reviewed 2024-10-31 19:26:43 +00:00
RaitoBezarius (Migrated from github.com) approved these changes 2024-10-31 19:36:25 +00:00
RaitoBezarius (Migrated from github.com) left a comment

LGTM.

LGTM.
fricklerhandwerk commented 2024-11-01 01:38:26 +00:00 (Migrated from github.com)

Sorry for the horrendous amount of notification spam. This should work now, with all the org and repo permission set correctly. The last test run of the trigger only stopped at the missing workflow_dispatch on builds.yaml, which needs to be in the PR branch itself: https://github.com/Nix-Security-WG/nix-security-tracker/pull/316#issuecomment-2451127815

Sorry for the horrendous amount of notification spam. This should work now, with all the org and repo permission set correctly. The last test run of the trigger only stopped at the missing `workflow_dispatch` on `builds.yaml`, which needs to be in the PR branch itself: https://github.com/Nix-Security-WG/nix-security-tracker/pull/316#issuecomment-2451127815
fricklerhandwerk (Migrated from github.com) reviewed 2024-11-01 09:24:45 +00:00
@ -0,0 +7,4 @@
# allow manual trigger
workflow_dispatch:
permissions:
fricklerhandwerk (Migrated from github.com) commented 2024-11-01 09:24:45 +00:00
# NOTE: for this to work you need to set "Workflow permissions" to "Read and write permissions"
# and check "Allow GitHub Actions to create and approve pull requests" in the org settings:
# https://github.com/organizations/<owner>/settings/actions
#
# only then the checkbox "Allow GitHub Actions to create and approve pull requests" is available in the repo settings:
# https://github.com/<owner>/<repo>/settings/actions
#
# in the repo settings, set "Read repository contents and packages permissions"
# and check  "Allow GitHub Actions to create and approve pull requests".
#
# otherwise you'll get an opaque 403 on the pull-request workflow
permissions:
```suggestion # NOTE: for this to work you need to set "Workflow permissions" to "Read and write permissions" # and check "Allow GitHub Actions to create and approve pull requests" in the org settings: # https://github.com/organizations/<owner>/settings/actions # # only then the checkbox "Allow GitHub Actions to create and approve pull requests" is available in the repo settings: # https://github.com/<owner>/<repo>/settings/actions # # in the repo settings, set "Read repository contents and packages permissions" # and check "Allow GitHub Actions to create and approve pull requests". # # otherwise you'll get an opaque 403 on the pull-request workflow permissions: ```
fricklerhandwerk (Migrated from github.com) reviewed 2024-11-01 09:32:58 +00:00
@ -0,0 +27,4 @@
title: "chore: weekly npins update"
body: |
Automatic npins update performed by GitHub Actions
branch: npins-auto-update
fricklerhandwerk (Migrated from github.com) commented 2024-11-01 09:32:58 +00:00
          # NOTE: in this repo we disabled creating additional branches.
          # in order for this to work, the rules must have an exception for this special branch.
          branch: npins-auto-update
```suggestion # NOTE: in this repo we disabled creating additional branches. # in order for this to work, the rules must have an exception for this special branch. branch: npins-auto-update ```
Sign in to join this conversation.
No description provided.