Skip to content

Commit 1e6c0c6

Browse files
authored
ci: Use admin token to trigger CI workflows on ff (#1119)
A known *feature* of github actions does not allow CI to run after a fast forward has been issued on a release branch. This might be a curse to keep a linear history AND have images built on docker hub. By using an `ADMIN_TOKEN` secret the action would run as an admin performed an operation, making CI run after a fast forward. Signed-off-by: Luca Zaninotto <luca.zaninotto@secomind.com>
1 parent 5e81087 commit 1e6c0c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/fast-forward.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,6 @@ jobs:
3838
- name: Fast forwarding
3939
uses: sequoia-pgp/fast-forward@v1
4040
with:
41+
github_token: ${{ secrets.ADMIN_TOKEN }}
4142
merge: true
4243
comment: on-error

0 commit comments

Comments
 (0)