chore(deps): bump renovatebot/github-action from 39.2.4 to 40.1.1 #1461
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @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'] | |
}) |