update on_issue_closed.yml

This commit is contained in:
amrbashir
2021-10-02 19:06:30 +02:00
parent f8b897c9e4
commit a1d2a907d6

View File

@@ -1,16 +1,16 @@
name: On_Issue_Closed
on:
issues:
types: [closed]
jobs:
run_tauri_bot_notify:
if: ${{ !github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- name: Run tauri-bot notify action
run: |
gh auth login
gh wokflow run run.yml -f command=notify url=${{ github.event.issue.url }} --repo tauri-apps/bot
run: gh wokflow run run.yml -f command=notify url=$ISSUE --repo tauri-apps/bot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE: ${{ github.event.issue.html_url }}