Skip to content

Commit 8b60d8e

Browse files
committed
fix: update workflows to use remote actions
Use `sessatakuma/org-workflows` for action sources. Normalize quote style and spacing.
1 parent b41a9a0 commit 8b60d8e

5 files changed

Lines changed: 20 additions & 21 deletions

File tree

.github/workflows/reusables-basic.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Basic Code Quality Checks"
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
workflow_call:
66
secrets:
77
CHECKER_TOKEN:
@@ -41,11 +41,11 @@ permissions:
4141
pull-requests: write
4242
issues: write
4343

44-
jobs: # yamllint disable-line rule:line-length
44+
jobs: # yamllint disable-line rule:line-length
4545
basic-checks:
4646
name: "Basic Code Quality Checks"
4747
runs-on: ubuntu-latest
48-
outputs: # yamllint disable rule:line-length
48+
outputs: # yamllint disable rule:line-length
4949
pr-title-status: ${{ steps.basic-checks.outputs.pr-title-status }}
5050
pr-title-summary: ${{ steps.basic-checks.outputs.pr-title-summary }}
5151
branch-name-status: ${{ steps.basic-checks.outputs.branch-name-status }}
@@ -62,7 +62,7 @@ jobs: # yamllint disable-line rule:line-length
6262

6363
- name: Run Basic Code Quality Checks
6464
id: basic-checks
65-
uses: ./.github/actions/basic-checks
65+
uses: sessatakuma/org-workflows/.github/actions/basic-checks@main
6666
with:
6767
pr-title: ${{ github.event.pull_request.title }}
6868
branch-name: ${{ github.head_ref }}

.github/workflows/reusables-config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
name: 'Configuration Files Quality Checks'
2+
name: "Configuration Files Quality Checks"
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
workflow_call:
66
secrets:
77
CHECKER_TOKEN:
8-
description: 'The GITHUB_TOKEN passed from the caller'
8+
description: "The GITHUB_TOKEN passed from the caller"
99
required: true
1010
outputs:
1111
yaml-status:
@@ -34,7 +34,7 @@ permissions:
3434

3535
jobs:
3636
config-checks:
37-
name: 'Configuration Files Quality Checks'
37+
name: "Configuration Files Quality Checks"
3838
runs-on: ubuntu-latest
3939
outputs:
4040
yaml-status: ${{ steps.config-checks.outputs.yaml-status }}
@@ -49,4 +49,4 @@ jobs:
4949

5050
- name: Run Config Checks
5151
id: config-checks
52-
uses: ./.github/actions/config-checks
52+
uses: sessatakuma/org-workflows/.github/actions/config-checks@main

.github/workflows/reusables-frontend.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
2-
name: 'Frontend Code Quality Checks'
2+
name: "Frontend Code Quality Checks"
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
workflow_call:
66
inputs:
77
node-version:
8-
description: 'The Node.js version to use'
8+
description: "The Node.js version to use"
99
required: false
1010
type: string
11-
default: '20'
11+
default: "20"
1212
secrets:
1313
CHECKER_TOKEN:
14-
description: 'The GITHUB_TOKEN passed from the caller'
14+
description: "The GITHUB_TOKEN passed from the caller"
1515
required: true
1616
outputs:
1717
prettier-status:
@@ -81,10 +81,9 @@ env:
8181
}
8282
];
8383
84-
8584
jobs:
8685
frontend-checks:
87-
name: 'Frontend Code Quality Checks'
86+
name: "Frontend Code Quality Checks"
8887
runs-on: ubuntu-latest
8988
# yamllint disable rule:line-length
9089
outputs:
@@ -96,6 +95,6 @@ jobs:
9695
steps:
9796
- name: Run Frontend Checks
9897
id: frontend-checks
99-
uses: ./.github/actions/frontend-checks
98+
uses: sessatakuma/org-workflows/.github/actions/frontend-checks@main
10099
with:
101100
node-version: ${{ inputs.node-version }}

.github/workflows/reusables-go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Reusable Go Checks"
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
workflow_call:
66
inputs:
77
go-version:
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Run Go Checks
4646
id: run-checks
47-
uses: ./.github/actions/go-checks
47+
uses: sessatakuma/org-workflows/.github/actions/go-checks@main
4848
with:
4949
go-version: ${{ inputs.go-version }}
5050
working-directory: ${{ inputs.working-directory }}

.github/workflows/reusables-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: "Python Code Quality Checks"
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
workflow_call:
66
inputs:
77
python-version:
@@ -39,6 +39,6 @@ jobs:
3939

4040
- name: Run Python Checks
4141
id: run-checks
42-
uses: ./.github/actions/python-checks
42+
uses: sessatakuma/org-workflows/.github/actions/python-checks@main
4343
with:
4444
python-version: ${{ inputs.python-version }}

0 commit comments

Comments
 (0)