Skip to content

Commit

Permalink
Add jobs to use as required status (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frassle authored Nov 15, 2023
1 parent 152d751 commit fb3056e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
check:
name: latest
check-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Build and test

on:
merge_group:
pull_request:
Expand All @@ -12,7 +14,7 @@ env:
PULUMI_TEST_OWNER: "moolumi"

jobs:
Build:
build:
strategy:
matrix:
dotnet-version: [6.0.x, 8.0.x]
Expand Down Expand Up @@ -43,7 +45,7 @@ jobs:
fail_ci_if_error: false
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
IntegrationTests:
integration-tests:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-11]
Expand Down Expand Up @@ -120,3 +122,9 @@ jobs:
run: dotnet run integration test TestProvider
- name: TestDeletedWith
run: dotnet run integration test TestDeletedWith
check-pr:
needs: ["build", "integration-tests"]
runs-on: ubuntu-latest
steps:
- name: OK
run: echo "OK"

0 comments on commit fb3056e

Please sign in to comment.