Skip to content

fix(action): always use current branch #16

fix(action): always use current branch

fix(action): always use current branch #16

Workflow file for this run

name: Discord Webhook
on: [push]
jobs:
Discord_notification:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run Discord Webhook
uses: ChatDisabled/discord-commits@${{ github.ref_name }}

Check failure on line 10 in .github/workflows/discord-push.yml

View workflow run for this annotation

GitHub Actions / Discord Webhook

Invalid workflow file

The workflow is not valid. .github/workflows/discord-push.yml (Line: 10, Col: 15): Unrecognized named-value: 'github'. Located at position 1 within expression: github.ref_name
with:
id: ${{ secrets.DISCORD_WEBHOOK_ID }}
token: ${{ secrets.DISCORD_WEBHOOK_TOKEN }}