Skip to content

Require version in main branch with -pre suffix #282

Require version in main branch with -pre suffix

Require version in main branch with -pre suffix #282

name: Run commands when issues and pull requests are labeled
on:
issues:
types: [labeled, opened, unlabeled]
issue_comment:
types: [created]
pull_request:
types: [labeled]
concurrency:
group: pr-issue-commands-${{ github.event.number }}
jobs:
main:
if: ${{ github.event.pull_request == false || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v2
- name: Checkout Actions
uses: actions/checkout@v2
with:
repository: "grafana/grafana-github-actions"
path: ./actions
ref: add-wildcard-labels-command-support
- name: Install Actions
run: npm install --production --prefix ./actions
- name: Run Commands
uses: ./actions/commands
with:
token: ${{secrets.GH_BOT_ACCESS_TOKEN}}
configPath: issue-commands
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# with:
# limit-access-to-actor: true
# timeout-minutes: 15