Rename Readme.md to Readme.md #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: User Audit | ||
# syntax for a schedule. Uncomment next 3 lines to use schedules. This sample will run everyday at 5:45 UTC | ||
#on: | ||
# schedule: | ||
# - cron: "45 5 * * *" | ||
# default syntax is an on-demand task that can be manually initiated | ||
on: workflow_dispatch | ||
jobs: | ||
user_audit_job: | ||
env: | ||
API_TOKEN: ${{ secrets.API_KEY }} | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate Spreadsheet | ||
run: | | ||
pip install -r requirements.txt | ||
python useraudit.py $API_TOKEN | ||
- name: Store output | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: user-audit | ||
path: output/kenna_user_audit.xlsx | ||