2024-12-11のJS: React v19、Astro v5、The 2024 Web Almanac #992
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: update-draft-pr | |
on: | |
pull_request: | |
types: [opened, edited, synchronize] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-draft-pr: | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' && (github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'COLLABORATOR') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
run: yarn install | |
working-directory: actions/update-draft-pr | |
- name: Run | |
run: yarn start | |
working-directory: actions/update-draft-pr | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULL_REQUEST_EVENT: ${{ toJson(github.event) }} |