Skip to content

Commit e71ebcb

Browse files
authored
Minor workflow improvement
1 parent cca588e commit e71ebcb

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ on:
6565
workflows: ['API Surface Check']
6666
types: [completed]
6767
68-
permissions:
69-
contents: read
70-
pull-requests: write
71-
7268
# Cancel an in-progress comment run when a force-push or workflow_run re-run
7369
# fires for the same PR. head_sha alone wouldn't catch force-pushes (each push
7470
# has a different SHA); the (head repo + head branch) pair survives that and
@@ -79,7 +75,13 @@ concurrency:
7975
8076
jobs:
8177
check-api-surface:
78+
name: API surface comment
8279
runs-on: ubuntu-latest
80+
81+
permissions:
82+
contents: read
83+
pull-requests: write
84+
8385
steps:
8486
- uses: composer/api-surface-check@main
8587
with:

0 commit comments

Comments
 (0)