Skip to content

Update Team Permissions #45

Update Team Permissions

Update Team Permissions #45

name: Update Team Permissions
on:
workflow_dispatch:
schedule:
- cron: "0 21 * * *"
env:
PREFIX: "iam-"
ORG: "${{ github.repository_owner }}"
jobs:
run_audit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Update Permissions
shell: bash
env:
GH_PAT: ${{ secrets.GH_ACCESS_TOKEN }}
PREFIX: ${{ env.PREFIX }}
GH_ORG: ${{ env.ORG }}
run: |
bundle exec ruby ./main.rb