chore(deps): upgrade configuration #2413
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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen". | |
name: backport | |
on: | |
pull_request_target: | |
types: | |
- closed | |
jobs: | |
backport: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: pip3 install pipenv | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: yarn install --check-files --frozen-lockfile | |
- name: Set Git Identity | |
run: git config --global user.name "github-actions" && git config --global user.email "[email protected]" | |
- name: backport | |
if: github.event.pull_request.merged == true | |
env: | |
GITHUB_TOKEN: ${{ secrets.PROJEN_GITHUB_TOKEN }} | |
BACKPORT_PR_NUMBER: ${{ github.event.pull_request.number }} | |
run: npx projen backport |