Skip to content

Commit

Permalink
Check script version in newly created GH issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mlocati committed Dec 16, 2024
1 parent e3a7bf0 commit c127382
Show file tree
Hide file tree
Showing 7 changed files with 32,395 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-new-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check new issue

on:
issues:
types:
- opened

jobs:
check-new-issue:
name: Check issue
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
uses: ./actions/check-new-issue
with:
token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions actions/check-new-issue/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/
9 changes: 9 additions & 0 deletions actions/check-new-issue/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Check new issue
description: Action triggered when a new issue is opened
inputs:
token:
required: true
description: The value of secrets.GITHUB_TOKEN
runs:
using: node20
main: dist/index.js
Loading

0 comments on commit c127382

Please sign in to comment.