diff --git a/.github/workflows/asciidoc.yml b/.github/workflows/asciidoc.yml index 57b376de5..4573d5aad 100644 --- a/.github/workflows/asciidoc.yml +++ b/.github/workflows/asciidoc.yml @@ -4,6 +4,9 @@ on: push: branches: [ master ] +permissions: + contents: write + jobs: checkout-and-deploy: runs-on: ubuntu-latest @@ -21,6 +24,6 @@ jobs: - name: Build ASCIIDoc with Gradle run: ./gradlew clean asciidoctor - name: Simple deploy with git - uses: rdarida/simple-github-pages-deploy-action@v1 + uses: JamesIves/github-pages-deploy-action@v4 with: - git-base-folder: build/docs/asciidoc/en/ + folder: build/docs/asciidoc/en/ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 08ec80a98..e19c8801c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -12,13 +12,17 @@ jobs: analyze: name: Analyze runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write strategy: fail-fast: false matrix: language: [ 'java' ] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: