Skip to content

Commit 48739be

Browse files
Update .github/workflows/project-meta-sync.yml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Signed-off-by: Ash Shaw <ashley@lightspeedwp.agency>
1 parent 0accfcd commit 48739be

1 file changed

Lines changed: 21 additions & 17 deletions

File tree

.github/workflows/project-meta-sync.yml

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,28 @@ jobs:
1818
add-and-sync:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- name: Create GitHub App installation token
22-
id: app-token
23-
uses: actions/create-github-app-token@v2
24-
with:
25-
app-id: ${{ vars.LS_APP_ID }}
26-
private-key: ${{ secrets.LS_APP_PRIVATE_KEY }}
27-
# Optionally scope permissions tighter (inherits installation perms by default)
28-
# permission-issues: read
29-
# permission-pull-requests: read
30-
# permission-projects: write
21+
steps:
22+
- name: Checkout repo
23+
uses: actions/checkout@v4
3124

32-
- name: Add item to project (new issues/PRs)
33-
id: addp
34-
uses: actions/add-to-project@v1
35-
with:
36-
project-url: ${{ env.PROJECT_URL }}
37-
github-token: ${{ steps.app-token.outputs.token }}
38-
# Optionally filter by labels:
25+
- name: Create GitHub App installation token
26+
id: app-token
27+
uses: actions/create-github-app-token@v2
28+
with:
29+
app-id: ${{ vars.LS_APP_ID }}
30+
private-key: ${{ secrets.LS_APP_PRIVATE_KEY }}
31+
# Optionally scope permissions tighter (inherits installation perms by default)
32+
# permission-issues: read
33+
# permission-pull-requests: read
34+
# permission-projects: write
35+
36+
- name: Add item to project (new issues/PRs)
37+
id: addp
38+
uses: actions/add-to-project@v1
39+
with:
40+
project-url: ${{ env.PROJECT_URL }}
41+
github-token: ${{ steps.app-token.outputs.token }}
42+
# Optionally filter by labels:
3943
# labeled: status:ready,status:in-progress
4044
# label-operator: OR
4145

0 commit comments

Comments
 (0)