Skip to content

Commit

Permalink
Fix workflows zizmor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ins0mniaque committed Dec 12, 2024
1 parent d369995 commit 1daad7d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install ShellCheck
run: |
Expand Down Expand Up @@ -44,6 +46,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install ShellCheck
run: |
Expand All @@ -69,6 +73,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install ShellCheck
shell: bash
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ on:
tags:
- "v*"

permissions:
contents: write

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Create Release Directory
run: mkdir -p release
Expand Down Expand Up @@ -119,6 +120,7 @@ jobs:
repository: ins0mniaque/homebrew-srcenv
token: ${{ secrets.HOMEBREW_TOKEN }}
path: homebrew-srcenv
persist-credentials: false

- name: Update Homebrew Formula
run: |
Expand Down

0 comments on commit 1daad7d

Please sign in to comment.