Skip to content

Bump lifecycle from 2.7.0 to 2.8.0 #2446

Bump lifecycle from 2.7.0 to 2.8.0

Bump lifecycle from 2.7.0 to 2.8.0 #2446

Workflow file for this run

name: PR
on:
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
shell: bash -l {0}
jobs:
Build:
name: Build
permissions:
statuses: write
pull-requests: write
contents: write
uses: ./.github/workflows/_build.yml
Dependabot:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Fetch Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@v2.1.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Add bpk label
if: contains(steps.dependabot-metadata.outputs.dependency-names, 'bpk-')
run: gh pr edit "$PR_URL" --add-label "bpk" --remove-label "javascript"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{github.event.pull_request.html_url}}