diff --git a/.github/workflows/docs-mkdocs.yml b/.github/workflows/docs-mkdocs.yml index 7ffe7ab..e6b1404 100644 --- a/.github/workflows/docs-mkdocs.yml +++ b/.github/workflows/docs-mkdocs.yml @@ -15,9 +15,11 @@ on: - "**.md" - .github/workflows/docs-mkdocs.yml - mkdocs.yml + permissions: contents: write pages: write + jobs: mkdocs: runs-on: ubuntu-latest @@ -25,14 +27,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: "3.x" - - name: Install dependencies - run: | - python -m pip install --upgrade pip - if [ -f docs/requirements.txt ]; then pip install -r docs/requirements.txt; fi - - uses: CCBR/actions/mkdocs-mike@v0.1 + - uses: CCBR/actions/mkdocs-mike@v0.2 with: github-token: ${{ github.token }} diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 85d536f..3036566 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -15,6 +15,7 @@ on: permissions: contents: write pull-requests: write + actions: write jobs: draft-release: @@ -23,7 +24,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # required to include tags - - uses: CCBR/actions/draft-release@v0.1 + - uses: CCBR/actions/draft-release@v0.2 with: github-token: ${{ github.token }} version-tag: ${{ github.event.inputs.version-tag }} diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index f87a779..0726a7b 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -8,7 +8,7 @@ on: permissions: contents: write pull-requests: write - issues: write + actions: write jobs: cleanup: @@ -17,6 +17,6 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: CCBR/actions/post-release@v0.1 + - uses: CCBR/actions/post-release@v0.2 with: github-token: ${{ github.token }}