Skip to content

Commit

Permalink
Merge branch 'main' into remove-pagelayout-content-main-landmark
Browse files Browse the repository at this point in the history
  • Loading branch information
radglob authored Aug 28, 2023
2 parents 665bcea + 77f05b4 commit d04beb2
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 39 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- next-major

jobs:
release-main:
if: github.ref_name == 'main'
get-access-token:
runs-on: ubuntu-latest
steps:
- id: get-access-token
uses: camertron/github-app-installation-auth-action@v1
Expand All @@ -18,27 +18,23 @@ jobs:
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}
- name: Main
uses: primer/.github/.github/workflows/release.yml@main
secrets:
gh_token: ${{ steps.get-access-token.outputs.access-token }}
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

release-main:
if: github.ref_name == 'main'
name: Main
needs: get-access-token
uses: primer/.github/.github/workflows/release.yml@main
secrets:
gh_token: ${{ needs.get-access-token.steps.get-access-token.outputs.access-token }}
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

release-next-major:
if: github.ref_name == 'next-major'
steps:
- id: get-access-token
uses: camertron/github-app-installation-auth-action@v1
with:
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}
- name: Next major
uses: primer/.github/.github/workflows/release.yml@main
with:
title: Release tracking (next major)
secrets:
gh_token: ${{ steps.get-access-token.outputs.access-token }}
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
name: Next major
needs: get-access-token
uses: primer/.github/.github/workflows/release.yml@main
with:
title: Release tracking (next major)
secrets:
gh_token: ${{ needs.get-access-token.steps.get-access-token.outputs.access-token }}
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
14 changes: 7 additions & 7 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"npm": ">=7"
},
"dependencies": {
"@primer/gatsby-theme-doctocat": "^4.6.3",
"@primer/gatsby-theme-doctocat": "^4.7.1",
"@primer/octicons-react": "^17.7.0",
"@primer/primitives": "4.1.0",
"@styled-system/prop-types": "^5.1.0",
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
},
"devDependencies": {
"@actions/core": "1.10.0",
"@babel/cli": "7.22.5",
"@babel/cli": "7.22.10",
"@babel/core": "7.22.5",
"@babel/eslint-parser": "7.21.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
Expand Down

0 comments on commit d04beb2

Please sign in to comment.