Skip to content

comment-on-fork name fix #316

comment-on-fork name fix

comment-on-fork name fix #316

Workflow file for this run

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"