Skip to content

Commit

Permalink
Merge branch 'main' into ci/update-dependabot-config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Nov 27, 2023
2 parents 16d68bb + 7d596ad commit 95582da
Show file tree
Hide file tree
Showing 20 changed files with 12,440 additions and 9,990 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/add-to-inbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Add to Inbox 📥
on:
issues:
types: [opened, reopened]

permissions:
issues: write

jobs:
add-to-inbox:
if: ${{ github.repository == 'primer/doctocat' }}
runs-on: ubuntu-latest
env:
ISSUE_URL: ${{ github.event.issue.html_url }}
PROJECT_ID: 4503
steps:
- name: Add labels to issue
run: gh issue edit $ISSUE_URL --add-label 'react'
env:
GH_TOKEN: ${{ github.token }}
- id: get-github-access-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.PRIMER_ISSUE_TRIAGE_APP_ID_FOR_GITHUB }}
private-key: ${{ secrets.PRIMER_ISSUE_TRIAGE_APP_PRIVATE_KEY_FOR_GITHUB }}
owner: github
- name: Add issue to project
run: gh project item-add $PROJECT_ID --url $ISSUE_URL --owner github
env:
GH_TOKEN: ${{ steps.get-github-access-token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
persist-credentials: false

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fetch-depth: 0

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@primer/gatsby-theme-doctocat": "*",
"@primer/react": "^35.2.2",
"@primer/react": "^36.1.0",
"gatsby": "^3.14.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
Loading

0 comments on commit 95582da

Please sign in to comment.