Skip to content

Commit

Permalink
Merge pull request #448 from LMAX-Exchange/fixupci
Browse files Browse the repository at this point in the history
Fix GitHub Actions for the New Permissions System
  • Loading branch information
Palmr authored Feb 15, 2023
2 parents 76f7c28 + b03e5f7 commit 109e288
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/asciidoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches: [ master ]

permissions:
contents: write

jobs:
checkout-and-deploy:
runs-on: ubuntu-latest
Expand All @@ -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/
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 109e288

Please sign in to comment.