Remove not-required stuff, add permission for PNG, skip truthy.

This commit is contained in:
Robert de Bock 2023-05-10 10:40:53 +02:00
parent 171d2e0a57
commit ae8690ad8d
2 changed files with 5 additions and 2 deletions

View File

@ -16,3 +16,6 @@ exclude_paths:
- ./.cache - ./.cache
- ./.github - ./.github
- ./requirements.yml - ./requirements.yml
skip_list:
- yaml[truthy]

View File

@ -9,6 +9,8 @@ name: Ansible Graphviz
jobs: jobs:
build: build:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions:
contents: write
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -28,8 +30,6 @@ jobs:
- name: save to png branch - name: save to png branch
uses: ad-m/github-push-action@master uses: ad-m/github-push-action@master
with: with:
github_token: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
directory: {% raw %}${{ github.repository }}{% endraw %} directory: {% raw %}${{ github.repository }}{% endraw %}
force: true force: true