Skip to content

Commit

Permalink
enable mainline gating (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbenoit17 authored Sep 20, 2023
1 parent 72bbe83 commit 0ac4ecb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/gating.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "Test Pull Request"

on:
pull_request:
branches:
- 'main'
- 'go1.*-fips-release'
- 'go1.*-openssl-fips'

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: none
checks: read
contents: none
deployments: none
id-token: none
issues: read
discussions: read
packages: none
pages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none

jobs:
test_pr:
# Look up the images for each selected compose
name: "Test Pull Request"
uses: golang-fips/release/.github/workflows/test-ubi-centos.yml@main
with:
go_fips_ref: ${{ github.event.pull_request.head.sha }}
composes: "ubi7,ubi8,ubi9,c8s,c9s"
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and test
on:
pull_request:
branches:
- go1.18-openssl-fips
# - go1.18-openssl-fips
env:
GOROOT_BOOTSTRAP: "/"
GOROOT_FINAL: "/usr/lib/golang"
Expand Down

0 comments on commit 0ac4ecb

Please sign in to comment.