Skip to content

Commit b99d9c3

Browse files
committed
feat: Refactored acceptance test automation
Signed-off-by: Steve Hipwell <[email protected]>
1 parent 1c11053 commit b99d9c3

File tree

163 files changed

+6119
-11020
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+6119
-11020
lines changed

.github/workflows/add_to_octokit_project.yml .github/workflows/add-to-octokit-project.yaml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
1-
name: Add PRs and issues to Octokit org project
1+
name: Add PRs & Issues to Octokit Org Project
22

33
on:
44
issues:
55
types: [reopened, opened]
66
pull_request_target:
77
types: [reopened, opened]
88

9+
permissions: read-all
10+
911
jobs:
1012
add-to-project:
11-
name: Add issue to project
13+
name: Add to Project
1214
runs-on: ubuntu-latest
1315
continue-on-error: true
16+
defaults:
17+
run:
18+
shell: bash
1419
steps:
15-
- uses: actions/[email protected]
20+
- name: Add to project
21+
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
1622
with:
1723
project-url: https://github.com/orgs/octokit/projects/10
1824
github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}

.github/workflows/ci.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: GitHub Actions CI
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [main]
7+
pull_request: {}
8+
9+
permissions: read-all
10+
11+
jobs:
12+
ci:
13+
name: CI
14+
runs-on: ubuntu-latest
15+
defaults:
16+
run:
17+
shell: bash
18+
env:
19+
GITHUB_TEST_ORGANIZATION: kfcampbell-terraform-provider
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
23+
- name: Set-up Go
24+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
25+
with:
26+
go-version-file: go.mod
27+
cache: true
28+
- run: make tools
29+
- run: make lint
30+
- run: make website-lint
31+
- run: make build
32+
- run: make test

.github/workflows/ci.yml

-23
This file was deleted.

.github/workflows/codeql.yml .github/workflows/codeql.yaml

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
name: "CodeQL"
1+
name: CodeQL
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ "main" ]
67
pull_request:
@@ -9,6 +10,8 @@ on:
910
schedule:
1011
- cron: '16 7 * * 5'
1112

13+
permissions: read-all
14+
1215
jobs:
1316
analyze:
1417
name: Analyze
@@ -17,17 +20,19 @@ jobs:
1720
actions: read
1821
contents: read
1922
security-events: write
20-
2123
strategy:
2224
fail-fast: false
2325
matrix:
2426
language: [ 'go' ]
25-
27+
defaults:
28+
run:
29+
shell: bash
2630
steps:
27-
- name: Checkout repository
31+
- name: Checkout
2832
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2933

30-
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
34+
- name: Set-up Go
35+
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
3136
with:
3237
go-version-file: 'go.mod'
3338
cache: true

.github/workflows/dotcom-acceptance-tests-all.yml

-97
This file was deleted.

.github/workflows/dotcom-acceptance-tests-manual.yml

-115
This file was deleted.

0 commit comments

Comments
 (0)