Skip to content

Add GrantReplaced annotation for grant #442

Add GrantReplaced annotation for grant

Add GrantReplaced annotation for grant #442

Workflow file for this run

name: ci
on: pull_request
jobs:
ci:
runs-on: ubuntu-latest
env:
BATON_TOKEN: ${{ secrets.BATON_TOKEN }}
BATON_ORGS: ${{ vars.BATON_ORGS }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build baton-github
run: go build ./cmd/baton-github
- name: Grant/revoke
uses: ConductorOne/github-workflows/actions/sync-test@v4
with:
connector: ./baton-github
baton-entitlement: ${{ vars.BATON_ENTITLEMENT_REPOSITORY }}
baton-principal: ${{ vars.BATON_PRINCIPAL }}
baton-principal-type: ${{ vars.BATON_PRINCIPAL_TYPE }}