Skip to content

Update octokit monorepo (environment-matrix) (major) - autoclosed #108

Update octokit monorepo (environment-matrix) (major) - autoclosed

Update octokit monorepo (environment-matrix) (major) - autoclosed #108

name: update-outdated-pull-request-branch
on:
pull_request:
paths:
- update-outdated-pull-request-branch/**
- '*.json'
- '*.yaml'
- .github/workflows/update-outdated-pull-request-branch.yaml
push:
branches:
- main
paths:
- update-outdated-pull-request-branch/**
- '*.json'
- '*.yaml'
- .github/workflows/update-outdated-pull-request-branch.yaml
defaults:
run:
working-directory: update-outdated-pull-request-branch
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm test
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
- run: corepack enable pnpm
- run: pnpm i
- run: pnpm build
# update-outdated-pull-request-branch action supports only pull_request event
- if: github.event_name == 'pull_request'
uses: ./update-outdated-pull-request-branch
with:
expiration-days: 7