Skip to content

Commit e413d56

Browse files
committed
Fix action
1 parent e3b813a commit e413d56

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
---
12
name: Assign Dependabot PR to Compute Foundation Project
23

34
on:
45
workflow_dispatch:
56
pull_request:
67
types: [opened, reopened, labeled]
78

8-
env:
9-
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
9+
permissions:
10+
contents: read
11+
pull-requests: write
1012

1113
jobs:
1214
add-to-project:
@@ -16,5 +18,5 @@ jobs:
1618
- uses: actions/[email protected]
1719
with:
1820
project-url: https://github.com/orgs/github/projects/5753/ # Compute Foundation Project Board
19-
github-token: ${{ env.ADD_TO_PROJECT_PAT }}
20-
labeled: dependencies
21+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
22+
labeled: dependencies,external-dependency

0 commit comments

Comments
 (0)