Skip to content

Commit

Permalink
build: Fix quarterly job alert by echoing var to env
Browse files Browse the repository at this point in the history
  • Loading branch information
sarina committed Oct 22, 2024
1 parent d84139b commit 19e740f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/add-quarterly-GH-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
steps:
- run: |
# Audit GitHub Users
gh issue create --repo "openedx/axim-engineering" \
new_issue_url=$(gh issue create --repo "openedx/axim-engineering" \
--title "Quarterly Audit of Github Users" \
--label "github-request" \
--body "It is time to perform the quartely audit of GitHub users in the \`openedx\` org. The playbook for performing the audit can be found [here](https://openedx.atlassian.net/wiki/spaces/COMM/pages/3438903337/On-call+Playbooks#%F0%9F%94%8D-Audit-Github-Users)."
--body "It is time to perform the quartely audit of GitHub users in the \`openedx\` org. The playbook for performing the audit can be found [here](https://openedx.atlassian.net/wiki/spaces/COMM/pages/3438903337/On-call+Playbooks#%F0%9F%94%8D-Audit-Github-Users).")
echo "NEW_ISSUE_URL=$new_issue_url" >> $GITHUB_ENV
- name: Comment on issue
run: gh issue comment $NEW_ISSUE_URL --body "@openedx/axim-oncall heads up on this request"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/add-quarterly-repo-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:
steps:
- run: |
# Run repo-checks.py
gh issue create --repo "openedx/axim-engineering" \
new_issue_url=$(gh issue create --repo "openedx/axim-engineering" \
--title "Quarterly repo-checks.py Run" \
--label "github-request" \
--body "It is time to perform the quartely run of \`repo-checks.py\` for the \`openedx\` org. Instructions for running the script can be found [here](https://github.com/openedx/repo-tools/tree/master/edx_repo_tools/repo_checks#usage)."
--body "It is time to perform the quartely run of \`repo-checks.py\` for the \`openedx\` org. Instructions for running the script can be found [here](https://github.com/openedx/repo-tools/tree/master/edx_repo_tools/repo_checks#usage).")
echo "NEW_ISSUE_URL=$new_issue_url" >> $GITHUB_ENV
- name: Comment on issue
run: gh issue comment $NEW_ISSUE_URL --body "@openedx/axim-oncall heads up on this request"
Expand Down

0 comments on commit 19e740f

Please sign in to comment.