Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zwaldowski committed Mar 2, 2024
1 parent 1d9f34d commit 4a63ed4
Show file tree
Hide file tree
Showing 4 changed files with 3,062 additions and 8,938 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const core = require('@actions/core')
const {context} = require('@actions/github')
const github = require('@actions/github')
const match = require('./match.js')

function run() {
try {
const pr = context.payload.pull_request || {}
const pr = github.context.payload.pull_request || {}
const labels = pr.labels || []
const labelNames = labels.map((label) => label.name)
const allowedLabels = match.parseAllowed(core.getInput('allowed'))
Expand Down
6 changes: 3 additions & 3 deletions index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const cp = require('child_process')
const path = require('path')
const process = require('process')
const cp = require('node:child_process')
const path = require('node:path')
const process = require('node:process')
const test = require('ava')

test('test runs without default value', (t) => {
Expand Down
Loading

0 comments on commit 4a63ed4

Please sign in to comment.