Skip to content

Commit b9da752

Browse files
committed
minor #988 Remove label cleanup step from run-examples workflow (OskarStark)
This PR was merged into the main branch. Discussion ---------- Remove label cleanup step from run-examples workflow | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Docs? | no | Issues | -- | License | MIT Commits ------- 9729f5f Comment out label cleanup step and permissions from run-examples workflow
2 parents 646801f + 9729f5f commit b9da752

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/run-examples.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [labeled]
66

7+
#permissions:
8+
# pull-requests: write
9+
710
defaults:
811
run:
912
working-directory: examples
@@ -33,14 +36,15 @@ jobs:
3336
env:
3437
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
3538

36-
- name: Remove label
37-
if: always()
38-
uses: actions/github-script@v7
39-
with:
40-
script: |
41-
await github.rest.issues.removeLabel({
42-
owner: context.repo.owner,
43-
repo: context.repo.repo,
44-
issue_number: context.issue.number,
45-
name: 'Run examples'
46-
});
39+
# - name: Remove label
40+
# if: always()
41+
# uses: actions/github-script@v7
42+
# with:
43+
# script: |
44+
# await github.rest.issues.removeLabel({
45+
# owner: context.repo.owner,
46+
# repo: context.repo.repo,
47+
# issue_number: context.issue.number,
48+
# name: 'Run examples'
49+
# });
50+

0 commit comments

Comments
 (0)