Skip to content

check gate label

check gate label #3

Workflow file for this run

name: run tests
on:
pull_request:
types:
- labeled
jobs:
merge:
runs-on: ubuntu-latest
name: merge branch into devel
environment: github
if: ${{ github.event.label.name == 'gate' && github.event.review.state == 'APPROVED' }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/otc-golangci-lint.yaml
- uses: ./.github/workflows/otc-run-acc-tests.yaml
- uses: devmasx/merge-branch@master
with:
label_name: 'gate'
target_branch: 'github-actions-1'
github_token: ${{ secrets.TOKEN }}