Skip to content

Release/v0.4.2

Release/v0.4.2 #9

Workflow file for this run

name: Pull Request for Release
on:
pull_request:
branches:
- 'main'
types:
- opened
jobs:
label:
runs-on: ubuntu-latest
if: startsWith(github.head_ref, 'release/')
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Add label
run: |
gh pr edit ${{ github.event.pull_request.number }} --add-label release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
size-check:
runs-on: ubuntu-latest
needs: label
permissions:
pull-requests: write
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}