Skip to content

Commit

Permalink
tackle jan 2025 security warning
Browse files Browse the repository at this point in the history
  • Loading branch information
caumond committed Jan 6, 2025
1 parent a5e9a1f commit ad5ef31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/commit_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
# Don't want to validate on tag push, only commits --> https://stackoverflow.com/questions/64708371/how-to-run-github-workflow-on-every-commit-of-a-push
jobs:
clojure:
permissions:
contents: read
strategy:
matrix:
os: [ubuntu-latest] # , windows-latest There is a path issue
Expand All @@ -21,7 +23,8 @@ jobs:
distribution: 'zulu'
java-version: '22'
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
# See https://github.com/DeLaGuardo/setup-clojure/commits/main/
uses: DeLaGuardo/setup-clojure@cc67f8308550d0f18b0ba445c2476f84626a5d6a #v13.0
with:
cli: 1.12.0.1479 # Clojure CLI based on tools.deps
bb: 1.12.195 # Babashka
Expand All @@ -44,7 +47,8 @@ jobs:
- name: Write git diff - show what has been changed by zprint
run: git diff
- name: Pushed code should already be formatted
uses: CatChen/check-git-status-action@v1
# See https://github.com/CatChen/check-git-status-action
uses: CatChen/check-git-status-action@bde80484b437cece974f79da735a5cd1dfdc9b0b #v1
with:
fail-if-not-clean: true
request-changes-if-not-clean: false
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy_clojar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ on:

jobs:
clojars:
permissions:
contents: read
runs-on: ubuntu-latest

steps:
# This step checks out a copy of your repository.
- uses: actions/checkout@v4

- uses: jlesquembre/clojars-publish-action@0.3
- uses: jlesquembre/clojars-publish-action@89a4eb7bdbe1270621e6643250afce152701699e # v0.3
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}

0 comments on commit ad5ef31

Please sign in to comment.