Skip to content

Commit

Permalink
chmod the script due to windows
Browse files Browse the repository at this point in the history
Signed-off-by: Jorgen Lundman <[email protected]>
  • Loading branch information
lundman committed Dec 20, 2024
1 parent 3a3d92a commit b5e3e5c
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/notify-irc.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
name: "Notify IRC on Push"
name: Notify IRC

on:
push:
branches:
- main
- development
- main # Or your desired branch

jobs:
notify:
notify-irc:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install jq
run: sudo apt-get install -y jq
- name: Set execute permissions
run: chmod +x .github/workflows/notify-irc.sh

- name: Notify IRC
env:
COMMITS_JSON: ${{ toJson(github.event.commits) }}
ACTOR: ${{ github.actor }}
BRANCH: ${{ github.ref_name }}
COMPARE_URL: ${{ github.event.compare }}
- name: Run Notify IRC Script
run: |
.github/workflows/notify-irc.sh "$COMMITS_JSON" "$ACTOR" "$BRANCH" "$COMPARE_URL" | notify-irc \
--channel "#OpenZFS-Windows" \
Expand Down

0 comments on commit b5e3e5c

Please sign in to comment.