Skip to content

Update styfle/cancel-workflow-action action to v0.12.1 #2226

Update styfle/cancel-workflow-action action to v0.12.1

Update styfle/cancel-workflow-action action to v0.12.1 #2226

Workflow file for this run

name: Auto Labeling
on:
issues:
types:
# Trigger the action only on relevant activity types.
# It's actually not harmful to trigger the action on all activity types.
- opened
- edited
pull_request:
types:
- opened
- edited
# A GitHub token created for a PR coming from a fork doesn't have
# 'admin' or 'write' permission (which is required to add labels)
# To avoid this issue, you can use the `scheduled` event and run
# this action on a certain interval.
# on:
# schedule:
# - cron: '*/10 * * * *'
jobs:
labeling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: harupy/auto-labeling@master
with:
github-token: ${{ secrets.GH_TOKEN }}
label-pattern: '- \[(.*?)\] ?`(.+?)`' # matches '- [x] `label`'