-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Updated automation to support PR acceptance tests
Signed-off-by: Steve Hipwell <[email protected]>
- Loading branch information
1 parent
1c11053
commit dc1ea98
Showing
16 changed files
with
277 additions
and
529 deletions.
There are no files selected for viewing
12 changes: 9 additions & 3 deletions
12
.github/workflows/add_to_octokit_project.yml → ...hub/workflows/add-to-octokit-project.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
name: Add PRs and issues to Octokit org project | ||
name: Add PRs & Issues to Octokit Org Project | ||
|
||
on: | ||
issues: | ||
types: [reopened, opened] | ||
pull_request_target: | ||
types: [reopened, opened] | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
add-to-project: | ||
name: Add issue to project | ||
name: Add to Project | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/[email protected] | ||
- name: Add to project | ||
uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 | ||
with: | ||
project-url: https://github.com/orgs/octokit/projects/10 | ||
github-token: ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: GitHub Actions CI | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [main] | ||
pull_request: {} | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
ci: | ||
name: CI | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
env: | ||
GITHUB_TEST_ORGANIZATION: kfcampbell-terraform-provider | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Set-up Go | ||
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
- run: make tools | ||
- run: make lint | ||
- run: make website-lint | ||
- run: make build | ||
- run: make test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.