Skip to content

Commit

Permalink
apparently, contexts are only accessible in steps, i.e. near runners
Browse files Browse the repository at this point in the history
who knew?

Signed-off-by: Jim Crossley <[email protected]>
  • Loading branch information
jcrossley3 committed Oct 1, 2024
1 parent 2047284 commit 7cabb12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rita-new-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ env:
jobs:
notify_channel:
runs-on: ubuntu-22.04
if: env.PASSWORD != '' && github.event.pull_request.draft == false
steps:
- name: Send message
if: env.PASSWORD && github.event.pull_request.draft == false
run: |
podman run --rm docker.io/matrixcommander/matrix-commander:latest --login password --homeserver https://matrix.org --device github --user-login "$USERNAME" --password "$PASSWORD" --room-default "$ROOM" --message "New PR opened: ${{ github.event.pull_request.html_url }}" --logout me
2 changes: 1 addition & 1 deletion .github/workflows/rita-pr-merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env:
jobs:
notify_channel:
runs-on: ubuntu-22.04
if: env.PASSWORD != '' && github.event.pull_request.merged == true
steps:
- name: Send message
if: env.PASSWORD && github.event.pull_request.merged
run: |
podman run --rm docker.io/matrixcommander/matrix-commander:latest --login password --homeserver https://matrix.org --device github --user-login "$USERNAME" --password "$PASSWORD" --room-default "$ROOM" --message "🎉 PR merged: ${{ github.event.pull_request.html_url }}" --logout me

0 comments on commit 7cabb12

Please sign in to comment.