Skip to content

Commit ad3e4c7

Browse files
authored
Merge pull request #400 from tcheeric/codex/add-label-to-issues-in-workflow
ci: add codex label step
2 parents 6669f36 + 1d688bd commit ad3e4c7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/issue-labeler.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,13 @@ jobs:
1717
configuration-path: .github/labeler.yml
1818
include-title: 1
1919
repo-token: ${{ github.token }}
20+
- if: github.actor == 'github-actions[bot]'
21+
uses: actions/github-script@v7
22+
with:
23+
script: |
24+
github.rest.issues.addLabels({
25+
owner: context.repo.owner,
26+
repo: context.repo.repo,
27+
issue_number: context.issue.number,
28+
labels: ['codex']
29+
})

0 commit comments

Comments
 (0)