Skip to content

okta custom roles (#46) #16

okta custom roles (#46)

okta custom roles (#46) #16

Workflow file for this run

name: Output connector capabilities
on:
push:
branches:
- main
jobs:
calculate-capabilities:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.RELENG_GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build
run: go build -o connector ./cmd/baton-okta
- name: Run and save output
env:
BATON_API_TOKEN: ${{ secrets.BATON_API_TOKEN }}
BATON_DOMAIN: ${{ secrets.BATON_DOMAIN }}
run: ./connector capabilities > baton_capabilities.json
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Updating baton capabilities.'
add: 'baton_capabilities.json'