Skip to content

Commit 87baf29

Browse files
authored
Fixing linter issues for yml files (#170)
1 parent 4271add commit 87baf29

File tree

5 files changed

+76
-76
lines changed

5 files changed

+76
-76
lines changed

.github/workflows/auto-close.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
---
2-
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
3-
# SPDX-License-Identifier: Apache-2.0
4-
5-
name: Stale Pull Requests
6-
7-
# After 30 days of no activity on a PR, the PR should be marked as stale,
8-
# a comment made on the PR informing the author of the new status,
9-
# and closed after 15 days if there is no further activity from the change to stale state.
10-
on:
11-
schedule:
12-
- cron: '30 1 * * *' # run every day
13-
workflow_dispatch: {}
14-
15-
permissions:
16-
contents: read
17-
18-
jobs:
19-
stale-auto-close:
20-
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
21-
steps:
22-
- uses: actions/[email protected]
23-
with:
24-
repo-token: ${{ secrets.GITHUB_TOKEN }}
25-
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Make a comment or update the PR to avoid closing PR after 15 days.'
26-
days-before-pr-stale: 30
27-
days-before-pr-close: 15
28-
remove-pr-stale-when-updated: 'true'
29-
close-pr-message: 'This pull request was automatically closed due to inactivity'
1+
---
2+
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
name: Stale Pull Requests
6+
7+
# After 30 days of no activity on a PR, the PR should be marked as stale,
8+
# a comment made on the PR informing the author of the new status,
9+
# and closed after 15 days if there is no further activity from the change to stale state.
10+
on:
11+
schedule:
12+
- cron: '30 1 * * *' # run every day
13+
workflow_dispatch: {}
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
stale-auto-close:
20+
runs-on: ${{ github.repository_owner == 'intel' && 'intel-ubuntu-latest' || 'ubuntu-latest' }}
21+
steps:
22+
- uses: actions/[email protected]
23+
with:
24+
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Make a comment or update the PR to avoid closing PR after 15 days.'
26+
days-before-pr-stale: 30
27+
days-before-pr-close: 15
28+
remove-pr-stale-when-updated: 'true'
29+
close-pr-message: 'This pull request was automatically closed due to inactivity'

.github/workflows/auto-update.yml

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
2-
# SPDX-License-Identifier: Apache-2.0
3-
4-
---
5-
6-
name: Auto Update PR
7-
8-
# On push to the main branch and support branches, update any branches that are out of date
9-
# and have auto-merge enabled. If the branch is currently out of date with the base branch,
10-
# it must be first manually updated and then will be kept up to date on future runs.
11-
on:
12-
push:
13-
branches:
14-
- main
15-
- release-*
16-
17-
permissions: {}
18-
19-
concurrency:
20-
group: ${{ github.workflow }}-${{ github.ref }}
21-
cancel-in-progress: true
22-
23-
jobs:
24-
update-pull-requests:
25-
permissions:
26-
contents: read
27-
pull-requests: write
28-
runs-on: ubuntu-latest
29-
30-
steps:
31-
- name: Checkout repository
1+
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
---
5+
6+
name: Auto Update PR
7+
8+
# On push to the main branch and support branches, update any branches that are out of date
9+
# and have auto-merge enabled. If the branch is currently out of date with the base branch,
10+
# it must be first manually updated and then will be kept up to date on future runs.
11+
on:
12+
push:
13+
branches:
14+
- main
15+
- release-*
16+
17+
permissions: {}
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: true
22+
23+
jobs:
24+
update-pull-requests:
25+
permissions:
26+
contents: read
27+
pull-requests: write
28+
runs-on: ubuntu-latest
29+
30+
steps:
31+
- name: Checkout repository
3232
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
33-
with:
34-
persist-credentials: false
35-
36-
- name: Update pull requests
33+
with:
34+
persist-credentials: false
35+
36+
- name: Update pull requests
3737
uses: open-edge-platform/orch-ci/.github/actions/pr_updater@66d088403f0e7afeaacefc44e8547be4d53d8323 # 0.1.50
38-
with:
39-
github_token: ${{ secrets.SYS_ORCH_GITHUB }}
38+
with:
39+
github_token: ${{ secrets.SYS_ORCH_GITHUB }}

.github/workflows/component-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
pull_request:
88
types: [labeled]
99
schedule:
10-
- cron: "0 0 * * *" # Run every day at midnight
10+
- cron: "0 0 * * *" # Run every day at midnight
1111
workflow_dispatch: # Run on manual trigger
1212
inputs:
1313
run-component-tests:
@@ -28,7 +28,7 @@ jobs:
2828
name: Deploy Kind Orchestrator and Run Component Tests
2929
if: |
3030
${{ inputs.run-component-tests || github.event_name == 'schedule' || github.event.label.name == 'run-component-tests' }}
31-
runs-on: ubuntu-24.04-16core-64GB # ubuntu-24.04-4core-16GB ubuntu-22.04-32core-128GB & ubuntu-24.04-16core-64GB
31+
runs-on: ubuntu-24.04-16core-64GB # ubuntu-24.04-4core-16GB ubuntu-22.04-32core-128GB & ubuntu-24.04-16core-64GB
3232
timeout-minutes: 60
3333
env:
3434
ORCH_DEFAULT_PASSWORD: ${{ secrets.ORCH_DEFAULT_PASSWORD }}
@@ -126,7 +126,7 @@ jobs:
126126
working-directory: app-orch-catalog
127127
run: |
128128
make coder-redeploy
129-
make coder-rebuild
129+
make coder-rebuild
130130
131131
- name: Describe app-orch-catalog
132132
run: kubectl describe deployments.app -n orch-app app-orch-catalog
@@ -144,13 +144,13 @@ jobs:
144144
echo "Waiting for 10 seconds before checking again..."
145145
sleep 10
146146
fi
147-
done
147+
done
148148
149149
- name: Run Catalog Component Tests
150150
working-directory: app-orch-catalog/test
151151
run: |
152152
make component-tests
153-
echo "Component tests done!"
153+
echo "Component tests done!"
154154
155155
- name: Get diagnostic information
156156
if: always()
@@ -169,4 +169,4 @@ jobs:
169169
argo-diag.txt
170170
pods-describe.txt
171171
pods-list.txt
172-
argocd-applications.yaml
172+
argocd-applications.yaml

.github/workflows/pre-merge.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
pre-checks:
1919
runs-on: 'ubuntu-latest'
2020
steps:
21-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
persist-credentials: false
2424
- name: "Verify Branch Name"
25-
uses: open-edge-platform/orch-ci/verify-branch-name@66d088403f0e7afeaacefc44e8547be4d53d8323 # v0.1.50
25+
uses: open-edge-platform/orch-ci/verify-branch-name@66d088403f0e7afeaacefc44e8547be4d53d8323 # v0.1.50
2626
pre-merge-pipeline:
2727
needs: pre-checks
2828
uses: open-edge-platform/orch-ci/.github/workflows/pre-merge.yml@66d088403f0e7afeaacefc44e8547be4d53d8323 # v0.1.50
@@ -46,7 +46,7 @@ jobs:
4646
- name: Final Status Check
4747
run: |
4848
pre_merge_pipeline_result="${RESULT}"
49-
49+
5050
echo "Pre-merge pipeline result: $pre_merge_pipeline_result"
5151
5252
if [ "$pre_merge_pipeline_result" == "success" ] || [ "$pre_merge_pipeline_result" == "skipped" ]; then

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.12.15
1+
0.12.16

0 commit comments

Comments
 (0)