Remove dependency packages as they are HUGE! #37
This file contains hidden or 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
| #From https://github.com/OctopusDeploy/OctopusDeploy/blob/main/.github/workflows/merge-forward-pull-request-automation.yml | |
| name: "Auto-approve Merge-forward Pull Requests" | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - 'release/*' | |
| # Increase the access for the GITHUB_TOKEN | |
| permissions: | |
| # This Allows the GITHUB_TOKEN to approve pull requests | |
| pull-requests: write | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| # By default, the GitHub Actions workflow will get a GITHUB_TOKEN with read-only permissions. | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| jobs: | |
| approve-pr: | |
| runs-on: ubuntu-latest | |
| if: ${{ (github.actor == 'Octobob') && (contains(github.head_ref, 'mergebot')) }} | |
| steps: | |
| - name: Approve a merge forward PR | |
| run: gh pr review --approve "$PR_URL" |