Update actions/checkout action to v4.2.2 #4296
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
name: Auto approve | |
on: pull_request | |
permissions: | |
contents: read | |
jobs: | |
auto-approve: | |
name: Auto approve Pull Request | |
runs-on: ubuntu-latest | |
# for hmarr/auto-approve-action to approve PRs | |
permissions: | |
pull-requests: write | |
# Only run this on the main repo | |
if: github.event.pull_request.head.repo.full_name == 'Slimefun/Slimefun4' | |
steps: | |
- name: Approve via actions | |
uses: hmarr/[email protected] | |
if: github.actor == 'TheBusyBot' || github.actor == 'renovate[bot]' | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |