fix 'change file add' URL on forks #323
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: covector status | |
on: pull_request | |
jobs: | |
status: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: volta-cli/action@v4 | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- run: npm run pkg -w action | |
- name: covector status | |
uses: ./packages/action | |
id: covector | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
command: "status" | |
comment: true | |
- name: dump covector output | |
env: | |
COVECTOR_CONTEXT: ${{ toJson(steps.covector) }} | |
run: echo "$COVECTOR_CONTEXT" | |
- name: covector version | |
uses: ./packages/action | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
command: "version" | |
recognizeContributors: true | |
preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: volta-cli/action@v4 | |
- run: npm ci --ignore-scripts | |
- run: npm run build | |
- run: npm run -ws --if-present prepublishOnly | |
- run: npm run pkg -w action | |
- name: covector preview | |
uses: ./packages/action | |
id: covector | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
command: preview | |
- name: dump covector output | |
env: | |
COVECTOR_CONTEXT: ${{ toJson(steps.covector) }} | |
run: echo "$COVECTOR_CONTEXT" |