Skip to content

Merge pull request #4321 from dev-hato/renovate/sqlfluff-3.x #2677

Merge pull request #4321 from dev-hato/renovate/sqlfluff-3.x

Merge pull request #4321 from dev-hato/renovate/sqlfluff-3.x #2677

---
name: pr-copy-ci-hato-bot
on:
push:
branches:
- develop
workflow_dispatch:
jobs:
pr-copy-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
with:
app-id: ${{ secrets.PROJECT_AUTOMATION_APP_ID }}
private-key: ${{ secrets.PROJECT_AUTOMATION_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: "sudden-death"
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
github-token: ${{steps.generate_token.outputs.token}}
script: |
const script = require(`${process.env.GITHUB_WORKSPACE}/scripts/pr_copy_ci_hato_bot/pr_copy_ci/dispatch_event.js`)
await script({ github, context })
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true