Skip to content

[AUTOMATED] Update files from 0xsequence/sequence-sessions #10

[AUTOMATED] Update files from 0xsequence/sequence-sessions

[AUTOMATED] Update files from 0xsequence/sequence-sessions #10

name: pnpm-format-label
on:
pull_request:
types: [labeled]
jobs:
proto:
if: ${{ github.event.label.name == 'pnpm format' }}
uses: ./.github/workflows/pnpm-format.yml
secrets: inherit
rm:
if: ${{ github.event.label.name == 'pnpm format' }}
runs-on: ubuntu-latest
steps:
- name: Remove the label
run: |
LABEL=$(echo "${{ github.event.label.name }}" | sed 's/ /%20/g')
curl -X DELETE \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels/$LABEL