Skip to content

🌱 Test PR for dependabot #46

🌱 Test PR for dependabot

🌱 Test PR for dependabot #46

name: PR approve GH Workflows
on:
pull_request_target:
types:
- edited
- labeled
- reopened
- synchronize
jobs:
approve:
name: Approve ok-to-test
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test')
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Update PR
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'lint',
ref: context.ref,
})