Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release-drafter-jobben feilar no på grunn av manglande tilgangar, så … #244

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Release-drafter-jobben feilar no på grunn av manglande tilgangar, så …
…rettar opp det
madsop-nav committed Sep 26, 2024

Verified

This commit was signed with the committer’s verified signature.
madsop-nav Mads Opheim
commit b447255fb0ffd1a146086871d6037d996bdddce6
10 changes: 9 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -7,11 +7,19 @@ on:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: release-drafter/[email protected]
with:
commitish: ${{ github.head_ref || github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}