feat: support path-only hrefs for multi-hostname access #5
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
| name: "[Dependency Updates] Auto Approve" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: {} | |
| jobs: | |
| approve-automatic-prs: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 2 | |
| # 158783068: homarr-renovate[bot] | |
| # 190541745: homarr-crowdin[bot] | |
| # 210161987: homarr-update-contributors[bot] | |
| # 175486441: homarr-releases[bot] | |
| # Extracted from https://api.github.com/users/<username> | |
| if: github.actor_id == 158783068 || github.actor_id == 190541745 || github.actor_id == 210161987 || github.actor_id == 175486441 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Obtain token | |
| id: obtainToken | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| private-key: ${{ secrets.RENOVATE_APPROVE_PRIVATE_KEY }} | |
| app-id: ${{ secrets.RENOVATE_APPROVE_APP_ID }} | |
| permission-pull-requests: write # required to approve pull request | |
| - name: Install GitHub CLI | |
| run: sudo apt-get install -y gh | |
| - name: Approve automatic PRs | |
| env: | |
| GITHUB_TOKEN: ${{ steps.obtainToken.outputs.token }} | |
| run: | | |
| gh pr review ${{github.event.pull_request.number}} --approve --body "Automatically approved by GitHub Action" |