add empty file for test #28
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
on: | |
pull_request: | |
types: | |
- opened | |
branches: | |
- '*' | |
jobs: | |
approve: | |
name: Auto-approve docker push pr | |
runs-on: ubuntu-latest | |
if: | | |
startsWith(github.event.pull_request.head.ref, 'docker_files_push_') && | |
github.event.pull_request.user.login == 'elasticmachine' | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- name: Debug PR info | |
run: | | |
echo "PR Head Ref: ${{ github.event.pull_request.head.ref }}" | |
echo "PR User Login: ${{ github.event.pull_request.user.login }}" | |
- name: Auto Approve | |
uses: hmarr/auto-approve-action@v3 | |
with: | |
github_token: ${{secrets.ELASTICMACHINE_TOKEN}} |