Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 22f5835

Browse filesBrowse files
committed
ci: replace OCTOKITBOT_PROJECT_ACTION_TOKEN and OCTOKITBOT_PAT with a token from https://github.com/apps/octokit
Apply changes from octokit/endpoint.js#482 Part of octokit/maintainers#34
1 parent 7eba3d2 commit 22f5835
Copy full SHA for 22f5835

File tree

Expand file treeCollapse file tree

3 files changed

+21
-4
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+21
-4
lines changed

‎.github/workflows/add_to_octokit_project.yml

Copy file name to clipboardExpand all lines: .github/workflows/add_to_octokit_project.yml
+6-1Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313
continue-on-error: true
1414
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 }}
1520
- uses: actions/add-to-project@v1.0.2
1621
with:
1722
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 }}
1924
labeled: "Status: Stale"
2025
label-operator: NOT

‎.github/workflows/immediate-response.yml

Copy file name to clipboardExpand all lines: .github/workflows/immediate-response.yml
+8-1Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ on:
1111
- opened
1212
jobs:
1313
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]' }}
1515
runs-on: ubuntu-latest
1616
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+
1723
- name: Determine issue or PR number
1824
id: extract
1925
run: echo "NUMBER=${{ github.event.issue.number || github.event.pull_request.number }}" >> "$GITHUB_OUTPUT"
@@ -27,3 +33,4 @@ jobs:
2733
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.
2834
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`.
2935
You & others like you are the reason all of this works! So thank you & happy coding! 🚀
36+
token: ${{ steps.app-token.outputs.token }}

‎.github/workflows/update-prettier.yml

Copy file name to clipboardExpand all lines: .github/workflows/update-prettier.yml
+7-2Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ jobs:
77
update_prettier:
88
runs-on: ubuntu-latest
99
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 }}
1015
- uses: actions/checkout@v4
1116
- uses: actions/setup-node@v4
1217
with:
1318
cache: npm
14-
node-version: 16
19+
node-version: lts/*
1520
- run: npm ci
1621
- run: npm run lint:fix
1722
- uses: gr2m/create-or-update-pull-request-action@v1.x
1823
env:
19-
GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
24+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
2025
with:
2126
title: Prettier updated
2227
body: An update to prettier required updates to your code.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.