mirror of https://github.com/actions/setup-go.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
444 B
YAML
24 lines
444 B
YAML
name: "Remove label"
|
|
on:
|
|
- pull_request_target
|
|
|
|
jobs:
|
|
triage:
|
|
permissions:
|
|
contents: read
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Run tests
|
|
id: tests
|
|
run: |
|
|
Start-Sleep -Seconds 30
|
|
exit 1
|
|
shell: pwsh
|
|
|
|
- name: Add label if tests fail
|
|
uses: actions/labeler@v4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
if: ${{ failure() }}
|