Skip to content

Commit 67d6eda

Browse files
committed
Fix PR preview workflow: add permissions, use ubuntu-latest, update checkout action
1 parent 491805c commit 67d6eda

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/preview.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88
- synchronize
99
- closed
1010

11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
1115
concurrency: preview-${{ github.ref }}
1216

1317
jobs:
1418
deploy-preview:
15-
runs-on: ubuntu-18.04
19+
runs-on: ubuntu-latest
1620
steps:
1721
- name: Checkout
18-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
1923

2024
- name: Setup Ruby
2125
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)