mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-27 04:16:05 +00:00
* ci: 👷 pin Go v1.21 in GH build/push workflows * chore: 💚 update actions/* to v4 --------- Signed-off-by: Prashant Shahi <prashant@signoz.io>
28 lines
701 B
YAML
28 lines
701 B
YAML
on:
|
|
pull_request_target:
|
|
types:
|
|
- closed
|
|
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
|
|
PR_NUMBER: ${{ github.event.number }}
|
|
jobs:
|
|
create_issue_on_merge:
|
|
if: github.event.pull_request.merged == true
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Codebase
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: signoz/gh-bot
|
|
- name: Use Node v16
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 16
|
|
- name: Setup Cache & Install Dependencies
|
|
uses: bahmutov/npm-install@v1
|
|
with:
|
|
install-command: yarn --frozen-lockfile
|
|
- name: Comment on PR
|
|
run: node create-issue.js
|