Skip to content

Commit

Permalink
Release-drafter-jobben feilar no på grunn av manglande tilgangar, så …
Browse files Browse the repository at this point in the history
…rettar opp det (#244)
  • Loading branch information
madsop-nav authored Sep 26, 2024
1 parent 8a1503d commit c1e3d6b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit c1e3d6b

Please sign in to comment.