fix(deps): Fix gas filler for recent alloy-provider #63
Workflow file for this run
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
| ################################################################################# | |
| # Pipeline to check opened PR labels and title. | |
| ################################################################################# | |
| name: Open PR | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - reopened | |
| - ready_for_review | |
| - review_requested | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.event.pull_request.number }}-open-pr | |
| cancel-in-progress: false | |
| jobs: | |
| validate-pr-title: | |
| name: PR / Validate title | |
| runs-on: self-hosted-hoprnet-small | |
| permissions: | |
| pull-requests: read | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@v6 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # Configure which types are allowed (newline-delimited). | |
| types: | | |
| fix | |
| feat | |
| build | |
| chore | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| # These are regex patterns auto-wrapped in `^ $`. | |
| scopes: | | |
| ci | |
| deps | |
| hopli | |
| tests | |
| sdk | |
| requireScope: false | |
| ignoreLabels: | | |
| bot | |
| ignore-semantic-pull-request | |
| label: | |
| name: PR / Add labels | |
| runs-on: self-hosted-hoprnet-small | |
| permissions: | |
| contents: read | |
| # This grants the necessary permissions to manage labels on PRs. | |
| # PRs are a type of issue. | |
| issues: write | |
| pull-requests: write | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 | |
| with: | |
| disable-sudo: true | |
| egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/labeler@25abb3cad4f14b7ac27968a495c37798860a5a1a # main on 20.02.2025 | |
| with: | |
| sync-labels: true | |
| - name: Add "external" label for forked PRs | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| BASE_REPO: ${{ github.repository }} | |
| HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| run: | | |
| if [[ "$HEAD_REPO" != "$BASE_REPO" ]]; then | |
| echo "Adding 'external' label to the PR..." | |
| gh pr edit "$PR_NUMBER" --add-label "external" | |
| else | |
| echo "PR is not from a fork. No label added." | |
| fi |