chore(deps): bump the deps group across 1 directory with 10 updates #5732
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: Generate Examples | |
permissions: | |
pull-requests: write | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout PR head | |
uses: actions/checkout@v3 | |
- name: Fetch base branch | |
run: git fetch --unshallow origin ${{ github.base_ref }} | |
- name: Fetch base branch | |
run: git fetch origin ${{ github.base_ref }} | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.x | |
- name: Run Deno Script | |
run: deno run --allow-read --allow-write --unstable --allow-run .scripts/generate-commit-message.ts ${{ github.base_ref }} ${{ github.head_ref }} | |
- name: PR comment with file | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: ${{ github.workspace }}/.scripts/commit-message.txt | |
comment_tag: sandboxes | |
create_if_not_exists: true | |
- name: Run Deno Script | |
run: deno run --allow-read --allow-write --unstable --allow-net --allow-run .scripts/generate-commit-message.ts ${{ github.base_ref }} ${{ github.head_ref }} true | |
- name: PR comment with file | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: ${{ github.workspace }}/.scripts/commit-message.txt | |
comment_tag: sandboxes | |
create_if_not_exists: true |