File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +21
-4
lines changed
Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
continue-on-error : true
14
14
steps :
15
+ - uses : actions/create-github-app-token@v2
16
+ id : app-token
17
+ with :
18
+ app-id : ${{ vars.OCTOKIT_APP_ID }}
19
+ private-key : ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
15
20
- uses : actions/add-to-project@v1.0.2
16
21
with :
17
22
project-url : https://github.com/orgs/octokit/projects/10
18
- github-token : ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}
23
+ github-token : ${{ steps.app-token.outputs.token }}
19
24
labeled : " Status: Stale"
20
25
label-operator : NOT
Original file line number Diff line number Diff line change 11
11
- opened
12
12
jobs :
13
13
respond-to-issue :
14
- if : ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'githubactions[bot]' && github.actor != 'octokitbot' }}
14
+ if : ${{ github.actor != 'dependabot[bot]' && github.actor != 'renovate[bot]' && github.actor != 'githubactions[bot]' && github.actor != 'octokitbot' && github.actor != 'octokit[bot]' }}
15
15
runs-on : ubuntu-latest
16
16
steps :
17
+ - uses : actions/create-github-app-token@v2
18
+ id : app-token
19
+ with :
20
+ app-id : ${{ vars.OCTOKIT_APP_ID }}
21
+ private-key : ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
22
+
17
23
- name : Determine issue or PR number
18
24
id : extract
19
25
run : echo "NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
27
33
We have a [process in place](https://github.com/octokit/.github/blob/main/community/prioritization_response.md#overview) for prioritizing and responding to your input.
28
34
Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with `Status: Up for grabs`.
29
35
You & others like you are the reason all of this works! So thank you & happy coding! 🚀
36
+ token : ${{ steps.app-token.outputs.token }}
Original file line number Diff line number Diff line change 7
7
update_prettier :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
+ - uses : actions/create-github-app-token@v2
11
+ id : app-token
12
+ with :
13
+ app-id : ${{ vars.OCTOKIT_APP_ID }}
14
+ private-key : ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
10
15
- uses : actions/checkout@v4
11
16
- uses : actions/setup-node@v4
12
17
with :
13
18
cache : npm
14
- node-version : 16
19
+ node-version : lts/*
15
20
- run : npm ci
16
21
- run : npm run lint:fix
17
22
- uses : gr2m/create-or-update-pull-request-action@v1.x
18
23
env :
19
- GITHUB_TOKEN : ${{ secrets.OCTOKITBOT_PAT }}
24
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
20
25
with :
21
26
title : Prettier updated
22
27
body : An update to prettier required updates to your code.
You can’t perform that action at this time.
0 commit comments