Skip to content

Commit

Permalink
action init
Browse files Browse the repository at this point in the history
  • Loading branch information
minai621 committed Aug 25, 2024
0 parents commit 6b94c33
Show file tree
Hide file tree
Showing 7 changed files with 5,804 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Test PR D-day Labeler Action

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "18"
- run: npm ci
- run: npm run build
- run: npm test
- run: npm run lint
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: "PR D-day Labeler"
description: "Automatically label PRs with D-day countdown and send Slack notifications"
author: "MJ"
inputs:
github-token:
description: "GitHub token"
required: true
slack-webhook-url:
description: "Slack Webhook URL"
required: true
runs:
using: "node18"
main: "dist/index.js"
Loading

0 comments on commit 6b94c33

Please sign in to comment.