f8bfa7e16a
ci: fix permissions for release pipeline to publish binaries (#7512) ci: fix permissions Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens L <jens@goauthentik.io>
22 lines
427 B
YAML
22 lines
427 B
YAML
name: authentik-on-release-next-branch
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 12 * * *" # every day at noon
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
# Needed to be able to push to the next branch
|
|
contents: write
|
|
|
|
jobs:
|
|
update-next:
|
|
runs-on: ubuntu-latest
|
|
environment: internal-production
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: main
|
|
- run: |
|
|
git push origin --force main:next
|