Skip to content

chore(deps): update github-tags action .github/workflows/codeowners-merge.yml (.github/workflows/codeowners-merge.yml) (main) (patch) #1579

chore(deps): update github-tags action .github/workflows/codeowners-merge.yml (.github/workflows/codeowners-merge.yml) (main) (patch)

chore(deps): update github-tags action .github/workflows/codeowners-merge.yml (.github/workflows/codeowners-merge.yml) (main) (patch) #1579

Workflow file for this run

# @todo: sync with other repositories
---
name: auto-approve
on:
pull_request_target
env:
ACTOR: ivankatliarchuk
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- uses: hmarr/[email protected]
if: >
github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == ${{ env.ACTOR }}
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: add-label-on-approve
uses: actions/[email protected]
if: success()
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.issues.addLabels({
issue_number: context.payload.pull_request.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['automerge','✅ Approved']
})