Skip to content

Commit d6dc182

Browse files
bschwedlerianpittwood
authored andcommitted
Clean up stale comments and archived action
Remove stale concurrency comments referencing pull_request trigger which no longer exists on these workflows. Replace archived actions-ecosystem/action-add-labels with gh issue edit.
1 parent ef8f065 commit d6dc182

4 files changed

Lines changed: 5 additions & 11 deletions

File tree

.github/workflows/development.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ on:
2121

2222

2323
concurrency:
24-
# Only cancel in-progress runs for pull_request events, this prevents cancelling workflows against main or tags
25-
# A pull_request will reuse the same group thus enabling cancelation, all others receive a unique run_id
2624
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
2725
cancel-in-progress: true
2826

.github/workflows/issues.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
project-url: https://github.com/orgs/posit-dev/projects/17
2929

3030
- name: Add Default Labels
31-
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3
32-
with:
33-
github_token: ${{ steps.app-token.outputs.token }}
34-
labels: |
35-
docker
31+
env:
32+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
33+
GH_REPO: ${{ github.repository }}
34+
ISSUE_NUMBER: ${{ github.event.issue.number }}
35+
run: gh issue edit "$ISSUE_NUMBER" --add-label "docker"

.github/workflows/production.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212

1313

1414
concurrency:
15-
# Only cancel in-progress runs for pull_request events, this prevents cancelling workflows against main or tags
16-
# A pull_request will reuse the same group thus enabling cancelation, all others receive a unique run_id
1715
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
1816
cancel-in-progress: true
1917

.github/workflows/session.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212

1313

1414
concurrency:
15-
# Only cancel in-progress runs for pull_request events, this prevents cancelling workflows against main or tags
16-
# A pull_request will reuse the same group thus enabling cancelation, all others receive a unique run_id
1715
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
1816
cancel-in-progress: true
1917

0 commit comments

Comments
 (0)