Issue - start date is being allowed to be set to a value that is after the end date #80
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
name: issue-announce | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git Issue Details | |
run: | | |
export issue_title=$(echo "${{ github.event.issue.title }}" | sed -e "s/'//g" -e 's/"//g') | |
echo "Issue creator: ${{ github.event.issue.user.login }}" | |
echo "Issue title: ${{ github.event.issue.title }}" | |
echo "Issue number: ${{ github.event.issue.number }}" | |
echo "Issue url: ${{ github.event.issue.html_url }}" | |
echo "Using issue_title: $issue_title" | |
- name: Google Chat Notification | |
run: | | |
export issue_title=$(echo "${{ github.event.issue.title }}" | sed -e "s/'//g" -e 's/"//g') | |
curl --location --request POST '${{ secrets.WEBHOOK }}' \ | |
--header 'Content-Type: application/json; charset=UTF-8' \ | |
--data "{'text': '[${{ github.event.issue.number }}] ${{ github.event.issue.html_url }} $issue_title (${{ github.event.issue.user.login }})'}" |