Skip to content

Update europace_security.yaml (#89) #69

Update europace_security.yaml (#89)

Update europace_security.yaml (#89) #69

Workflow file for this run

name: "Create Scopes Doc"
on:
push:
branches:
- master
jobs:
create-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fetch unshallow
run: git fetch --prune --tags --unshallow
- name: Set up Python
uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pyyaml
- name: Transform YAML to Doc
run: |
python .github/workflows/scripts/scopes-doc.py -i europace_security.yaml > docs/scopes.md
- name: Commit files
run: |
echo ${{ github.ref }}
git add .
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "Updated Scopes Doc" -a | exit 0
- name: Push changes
if: github.ref == 'refs/heads/master'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true