Skip to content

Commit 8514a10

Browse files
committed
WIP
1 parent cad1e95 commit 8514a10

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/commit-message-based-labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: DevInfra
22

33
on:
4+
push:
5+
branches:
6+
- workflow-test
47
pull_request_target:
58
types: [opened, synchronize, reopened]
69

github-actions/pull-request-labeling/action.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,5 @@ inputs:
77
required: true
88

99
runs:
10-
using: composite
11-
steps:
12-
- name: Initialize environment
13-
uses: ./github-actions/npm/checkout-and-setup-node
14-
- name: Apply labels to pull requests
15-
run: node $GITHUB_ACTION_PATH/main.js
16-
shell: bash
10+
using: 'node20'
11+
main: 'main.js'

github-actions/pull-request-labeling/lib/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ class PullRequestLabeling {
202202
// Only run if the action is executed in a repository within the Angular org. This is in place
203203
// to prevent the action from actually running in a fork of a repository with this action set up.
204204
if (context.repo.owner === 'angular') {
205+
console.log('THIS IS THE PWD', process.cwd());
205206
PullRequestLabeling.run().catch((e: Error) => {
206207
console.error(e);
207208
core.setFailed(e.message);

github-actions/pull-request-labeling/main.js

Lines changed: 2 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)