Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Sep 16, 2021
1 parent dfa40a8 commit ee8a16e
Show file tree
Hide file tree
Showing 20 changed files with 1,073 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/actions/check_labels/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# action.yml
name: 'Check labels'
runs:
using: 'node12'
main: 'index.js'
12 changes: 12 additions & 0 deletions .github/actions/check_labels/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const core = require('@actions/core');
const github = require('@actions/github');

try {
// Get the JSON webhook payload for the event that triggered the workflow
const payload = JSON.stringify(github.context.payload, undefined, 2)
//github.event.pull_request.labels.backport
//console.log(`Event: ${github.context.payload}`);
console.log(`Event payload: ${payload}`);
} catch (error) {
core.setFailed(error.message);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

259 changes: 259 additions & 0 deletions .github/actions/check_labels/node_modules/@actions/core/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ee8a16e

Please sign in to comment.