Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Refactored acceptance test automation #2476

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/ci.yaml
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
23 changes: 0 additions & 23 deletions .github/workflows/ci.yml

This file was deleted.

15 changes: 10 additions & 5 deletions .github/workflows/codeql.yml → .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "CodeQL"
name: CodeQL

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
Expand All @@ -9,6 +10,8 @@ on:
schedule:
- cron: '16 7 * * 5'

permissions: read-all

jobs:
analyze:
name: Analyze
Expand All @@ -17,17 +20,19 @@ jobs:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]

defaults:
run:
shell: bash
steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- name: Set-up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: 'go.mod'
cache: true
Expand Down
97 changes: 0 additions & 97 deletions .github/workflows/dotcom-acceptance-tests-all.yml

This file was deleted.

115 changes: 0 additions & 115 deletions .github/workflows/dotcom-acceptance-tests-manual.yml

This file was deleted.

Loading
Loading