fix: Display alerts on add network request if there are pending confirmations #5127
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
name: Add release label to PR and linked issues when PR gets merged | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
jobs: | |
add-release-label: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true | |
steps: | |
- name: Checkout and setup environment | |
uses: metamask/github-tools/.github/actions/checkout-and-setup@1299bb1de0c6974ae6d0a32c7e8897fe168239ac | |
with: | |
is-high-risk-environment: false | |
fetch-depth: 0 # This is needed to checkout all branches | |
- name: Get the next semver version | |
id: get-next-semver-version | |
env: | |
FORCE_NEXT_SEMVER_VERSION: ${{ vars.FORCE_NEXT_SEMVER_VERSION }} | |
run: ./development/get-next-semver-version.sh "$FORCE_NEXT_SEMVER_VERSION" | |
- name: Add release label to PR and linked issues | |
id: add-release-label-to-pr-and-linked-issues | |
env: | |
RELEASE_LABEL_TOKEN: ${{ secrets.RELEASE_LABEL_TOKEN }} | |
NEXT_SEMVER_VERSION: ${{ env.NEXT_SEMVER_VERSION }} | |
run: yarn run add-release-label-to-pr-and-linked-issues |