mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-18 16:11:38 +03:00
01f6aa3405
* build: migrate repo to use `pnpm` as the pacakge manager * corepack enable * update lock file * format files * format .github * fix audit js * wrap in quotes * --frozen-lockfile * simplify packageManager field * lockfile * remove cache from audit workflow
31 lines
1007 B
YAML
31 lines
1007 B
YAML
# Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: covector comment
|
|
on:
|
|
workflow_run:
|
|
workflows: [covector status] # the `name` of the workflow run on `pull_request` running `status` with `comment: true`
|
|
types:
|
|
- completed
|
|
|
|
# note all other permissions are set to none if not specified
|
|
# and these set the permissions for `secrets.GITHUB_TOKEN`
|
|
permissions:
|
|
# to read the action artifacts on `covector status` workflows
|
|
actions: read
|
|
# to write the comment
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
comment:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.workflow_run.conclusion == 'success' &&
|
|
(github.event.workflow_run.head_repository.full_name != github.repository || github.actor == 'dependabot[bot]')
|
|
steps:
|
|
- name: covector status
|
|
uses: jbolda/covector/packages/action@covector-v0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
command: 'status'
|