chore(deps): update dependency golang to v1.22.4 #16727
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: Codegen | |
on: | |
pull_request: | |
types: [opened, synchronize, closed] | |
jobs: | |
notification: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
if: (github.event.action == 'opened' || github.event.action == 'synchronize') && github.event.number | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.ref }} | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
type: minimal | |
- name: Add notification comment | |
run: yarn workspace scripts upsertGenerationComment notification | |
env: | |
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }} | |
PR_NUMBER: ${{ github.event.number }} | |
HEAD_BRANCH: ${{ github.head_ref }} | |
cleanup: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
if: github.event.action == 'closed' | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: main | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
type: minimal | |
- name: Add cleanup comment | |
run: yarn workspace scripts upsertGenerationComment cleanup | |
env: | |
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }} | |
PR_NUMBER: ${{ github.event.number }} | |
- name: Clean previously generated branch | |
run: yarn workspace scripts cleanGeneratedBranch ${{ github.head_ref }} |