fix: read token_account from bumps #192
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
name: "Label Actions" | |
# env: | |
# GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
on: | |
pull_request_target: | |
types: [labeled, unlabeled] | |
# issues: | |
# types: [labeled, unlabeled] | |
# discussion: | |
# types: [labeled, unlabeled] | |
permissions: | |
contents: read | |
issues: write | |
pull-requests: write | |
discussions: write | |
jobs: | |
# run the local prettier config on the PR | |
prettier: | |
if: contains(github.event.pull_request.labels.*.name, 'prettier') | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
permissions: | |
# Give the default GITHUB_TOKEN write permission to commit and push the | |
# added or changed files to the repository. | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "pnpm" | |
- name: before_install | |
run: | |
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf | |
&& sudo sysctl -p | |
# perform steps to modify as desired | |
- name: pnpm install | |
run: pnpm install | |
- name: pnpm prettier:fix | |
run: pnpm prettier:fix | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "chore: prettier" | |
action: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dessant/label-actions@v4 | |
with: | |
# github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | |
config-path: ".github/label-actions.yml" |