chore(deps): update ruby/setup-ruby digest to 82dd21c (.github/workflow-templates/ruby.yml) (main) #1554
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'] | |
}) |