Update failed_check.md #76
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
name: Create an issue on push | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
stuff: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Dump GitHub context | |
id: github_context_step | |
run: echo '${{ toJSON(github) }}' | |
- name: Dump job context | |
run: echo '${{ toJSON(job) }}' | |
- name: set vars | |
run: | | |
branch_name=$(git rev-parse --abbrev-ref HEAD) | |
echo "branch_name=$branch_name" >> $GITHUB_ENV | |
echo "pr_title=Push trigger $branch_name $ref_id $repo_url" >> $GITHUB_ENV | |
- name: Test | |
uses: dblock/create-a-github-issue@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WORKFLOW_URL: testurl | |
PR_FROM_SHA: commitId | |
PR_USER: '${{ github.event.head_commit.author.username }}' | |
PUSH_USER: '${{ github.triggering_actor }}' | |
BRANCH: '${{ env.pr_title }}' | |
with: | |
assignees: ${{ github.event.head_commit.author.username }}, ${{ github.triggering_actor }} | |
filename: .github/ISSUE_TEMPLATE/failed_check.md | |