Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf authored Jan 9, 2025
2 parents 0ad13e1 + 287c824 commit 4c4446b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
# Run when label is added or present and when pushing to the PR
types: [labeled, opened, synchronize]

permissions:
contents: write
permissions: read-all

jobs:
build_preview:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/delete_pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:
((github.event.action == 'unlabeled' && github.event.label.name == 'safe
for preview') || (github.event.action == 'closed' &&
contains(github.event.pull_request.labels.*.name, 'safe for preview')))
name: Build with Hugo
name: Delete PR preview when a PR is closed or label removed
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 4c4446b

Please sign in to comment.