Skip to content

Update camozzi.yml #356

Update camozzi.yml

Update camozzi.yml #356

name: Update Outside Collaborators
on:
push:
branches:
- 'master'
paths:
- "groups/*.yml"
- "groups/*.yaml"
- "repos/*.yml"
- "repos/*.yaml"
workflow_dispatch:
concurrency:
group: outside_collaborators_update
cancel-in-progress: true
jobs:
Update:
name: "Update"
runs-on: ubuntu-latest
environment: outside_collaborators_environment
steps:
- name: Install Dependencies
run: |
sudo gem install octokit yaml
- name: Set Env Variables
run: |
echo "OUTSIDE_COLLABORATORS_GITHUB_ORG=${{ github.repository_owner }}" >> ${GITHUB_ENV}
echo "OUTSIDE_COLLABORATORS_GITHUB_TOKEN=${{ secrets.OUTSIDE_COLLABORATORS_TOKEN }}" >> ${GITHUB_ENV}
- uses: actions/checkout@main
- name: Run Handler
run: |
cd scripts
./outside-collaborators-handler.rb