Error calling partial_plot with UnboundLocalError: local variable 'weight_column' referenced before assignment #628
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: Send slack alerts for new GitHub issues | |
on: | |
issues: # workflow.yml should be placed in the default branch to trigger for issues | |
types: [opened] | |
jobs: | |
send-slack-alert: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check issue title and URL | |
id: check | |
env: | |
ISSUE_TITLE: ${{ github.event.issue.title }} | |
ISSUE_URL: ${{ github.event.issue.html_url }} | |
run: | | |
if [[ ! "$ISSUE_TITLE" =~ ^[a-zA-Z0-9\ \-\_\:\'\(\)\`]+$ ]]; then | |
echo "Invalid characters in issue title" | |
exit 1 | |
fi | |
echo "TITLE=$ISSUE_TITLE" >> $GITHUB_ENV | |
echo "URL=$ISSUE_URL" >> $GITHUB_ENV | |
- name: Post to a Slack channel | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
channel-id: "h2o-3-github-issues" | |
payload: | | |
{ | |
"text": ":github: *H2O-3 GitHub Issue Opened*", | |
"attachments": [ | |
{ | |
"text": "*Title:* ${{ env.TITLE }}\n*Link:* ${{ env.URL }}", | |
"color": "good", | |
"fallback": "Build Alert" | |
} | |
] | |
} | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} |