feat: inherit shared dev tooling from cr-upstream-repo #2
@@ -3,14 +3,8 @@
|
|||||||
url: https://github.com/common-repo/cr-upstream-repo
|
url: https://github.com/common-repo/cr-upstream-repo
|
||||||
ref: v1
|
ref: v1
|
||||||
|
|
||||||
- exclude:
|
# Override upstream template vars for christmas-island
|
||||||
# cr-semantic-release owns these — don't inherit from upstream
|
- template-vars:
|
||||||
- ".releaserc.yaml"
|
GH_APP_ID_SECRET: CHRISTMAS_ISLAND_APP_ID
|
||||||
- "commitlint.config.cjs"
|
GH_APP_KEY_SECRET: CHRISTMAS_ISLAND_PRIVATE_KEY
|
||||||
- "src/commitlint.config.cjs"
|
GH_APP_OWNER: christmas-island
|
||||||
- ".github/workflows/release.yaml"
|
|
||||||
- ".github/workflows/commitlint.yml"
|
|
||||||
# Upstream docs/metadata not relevant
|
|
||||||
- "CHANGELOG.md"
|
|
||||||
- "LICENSE"
|
|
||||||
- "README.md"
|
|
||||||
|
|||||||
5
.github/workflows/commitlint.yml
vendored
5
.github/workflows/commitlint.yml
vendored
@@ -14,7 +14,8 @@ jobs:
|
|||||||
name: Lint Commits
|
name: Lint Commits
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6
|
|
||||||
|
- uses: wagoid/commitlint-github-action@v6
|
||||||
|
|||||||
11
.github/workflows/release.yaml
vendored
11
.github/workflows/release.yaml
vendored
@@ -30,21 +30,24 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Generate app token
|
- name: Generate app token
|
||||||
id: app-token
|
id: app-token
|
||||||
uses: actions/create-github-app-token@v1
|
uses: actions/create-github-app-token@v2
|
||||||
with:
|
with:
|
||||||
app-id: ${{ vars.CHRISTMAS_ISLAND_APP_ID }}
|
app-id: ${{ secrets.CHRISTMAS_ISLAND_APP_ID }}
|
||||||
private-key: ${{ secrets.CHRISTMAS_ISLAND_PRIVATE_KEY }}
|
private-key: ${{ secrets.CHRISTMAS_ISLAND_PRIVATE_KEY }}
|
||||||
owner: christmas-island
|
owner: christmas-island
|
||||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: ${{ steps.app-token.outputs.token }}
|
token: ${{ steps.app-token.outputs.token }}
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
|
|
||||||
|
- uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
cache: npm
|
cache: npm
|
||||||
cache-dependency-path: ".releaserc.yaml"
|
cache-dependency-path: ".releaserc.yaml"
|
||||||
node-version: lts/*
|
node-version: lts/*
|
||||||
|
|
||||||
- name: Semantic Release
|
- name: Semantic Release
|
||||||
id: release
|
id: release
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user