diff options
Diffstat (limited to '.github/workflows/irc.yml')
| -rw-r--r-- | .github/workflows/irc.yml | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml deleted file mode 100644 index a44774c..0000000 --- a/.github/workflows/irc.yml +++ /dev/null @@ -1,33 +0,0 @@ -# After every push with successful CI, -# post the commits since the last successful CI into the IRC channel. -name: IRC Post - -on: - workflow_run: - workflows: ['Continuous Integration'] - types: [completed] - branches: master - -jobs: - irc: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - name: Git Clone - uses: actions/checkout@v4.1.6 - - name: Install Build Dependencies - run: sudo apt-get install -y ncat - - name: Get last successful commit - uses: nrwl/last-successful-commit-action@v1 - id: last_successful_commit - with: - branch: 'master' - workflow_id: 'ci.yml' - github_token: ${{ secrets.GITHUB_TOKEN }} - - name: IRC Connection - run: | - (echo "NICK git-bot" - echo "USER git-bot 8 * : git-bot" - echo "JOIN #sciteco" - git log --pretty="format:PRIVMSG #sciteco %h %s" --reverse ${{ steps.last_successful_commit.outputs.commit_hash }}..HEAD - echo "QUIT") | ncat --ssl irc.libera.chat 6697 |
