Skip to content

Commit a32a04f

Browse files
committed
Actions: replace ubuntu-latest with supported runners
1 parent 8545452 commit a32a04f

6 files changed

+16
-16
lines changed

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
jobs:
2323
analyze:
2424
name: Analyze
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
permissions:
2727
actions: read
2828
contents: read

.github/workflows/community-issue-comment.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: Issue Comment Workflows
1010

1111
on:
1212
workflow_run:
13-
workflows: ["Label Stale Contributions"]
13+
workflows: ['Label Stale Contributions']
1414
types:
1515
- completed
1616
issues:
@@ -24,7 +24,7 @@ jobs:
2424
# Returns: Posts comment tagging assignee and helpful message
2525
assigned-comment:
2626
if: github.event.action == 'assigned'
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-24.04
2828
steps:
2929
- name: Post assignee issue comment
3030
id: assigned-comment
@@ -52,7 +52,7 @@ jobs:
5252
# Returns: Posts warning comment tagging assignee
5353
stale-label-comment:
5454
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'stale' }}
55-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-24.04
5656
steps:
5757
- name: Post stale issue comment
5858
id: stale-label-comment

.github/workflows/community-stale-management.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
workflow_dispatch: # enables manual trigger
1111
# Scheduled to run at 12:00 on every Monday
1212
schedule:
13-
- cron: "0 0 * * MON"
13+
- cron: '0 0 * * MON'
1414

1515
jobs:
1616
# Trigger: Scheduled weekly
1717
# Returns: labels issues and PRs with 'stale' after 30 days inactivity
1818
# PRs: automated closing after 1 more week of inactivity
1919
# Issues: requires manual closing by maintainers
2020
stale:
21-
runs-on: ubuntu-latest
21+
runs-on: ubuntu-24.04
2222
permissions:
2323
issues: write
2424
pull-requests: write
@@ -27,21 +27,21 @@ jobs:
2727
- uses: actions/stale@v9 # https://github.com/actions/stale
2828
with:
2929
repo-token: ${{ secrets.GITHUB_TOKEN }}
30-
stale-issue-label: "stale"
31-
stale-pr-label: "stale"
30+
stale-issue-label: 'stale'
31+
stale-pr-label: 'stale'
3232
days-before-stale: 30
3333
# disables closing issues
3434
days-before-issue-close: -1
3535
days-before-pr-close: 7
3636
# only scan assigned issues
3737
include-only-assigned: true
3838
# ignore issues assigned to staff and bots
39-
exempt-assignees: "kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte, dependabot[bot], dependabot, github-actions[bot], github-actions"
39+
exempt-assignees: 'kyleecodes, swetha-charles, eleanorreem, annarhughes, tarebyte, dependabot[bot], dependabot, github-actions[bot], github-actions'
4040
# disable removing stale label due to irrelevant activity (like branch updates)
4141
remove-stale-when-updated: false
4242
# exempt dependabot prs from going stale
4343
exempt-pr-labels: dependencies
4444
# disable counting irrelevant activity (branch updates) towards day counter on prs.
4545
ignore-pr-updates: true
4646
# actions/stale does not enable tagging authors / assignees, so comments are handled by Issue Comments Workflows.
47-
stale-pr-message: "As per Chayn policy, after 30 days of inactivity, we will close this PR in 7 days. Please comment or update to keep open."
47+
stale-pr-message: 'As per Chayn policy, after 30 days of inactivity, we will close this PR in 7 days. Please comment or update to keep open.'

.github/workflows/create-release-pr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
create-pr-to-main:
99
name: Create release PR to main
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Create Pull Request
1313
uses: actions/github-script@v7

.github/workflows/dependabot-pr-review.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
# if any vulnerabilities or invalid licenses are introduced.
44
# See for more info: https://github.com/actions/dependency-review-action
55

6-
name: "Dependency Review"
6+
name: 'Dependency Review'
77
on: [pull_request]
88

99
permissions:
1010
contents: read
1111

1212
jobs:
1313
dependency-review:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-24.04
1515
steps:
16-
- name: "Checkout Repository"
16+
- name: 'Checkout Repository'
1717
uses: actions/checkout@v4
18-
- name: "Dependency Review"
18+
- name: 'Dependency Review'
1919
uses: actions/dependency-review-action@v4
2020
with:
2121
# fails when moderate vulnerabilities are deteched

.github/workflows/newrelic-release-tracking.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
newrelic:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
name: New Relic Release Tracking
1111
steps:
1212
# This step builds a var with the release tag value to use later

0 commit comments

Comments
 (0)