Restore the shallow clone behavior of the git walkers #4
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: | |
pull_request_target: | |
branches: | |
- main | |
- stable | |
- release/* | |
types: | |
- opened | |
- reopened | |
- ready_for_review | |
env: | |
USERNAME: "@trustification-bot:matrix.org" | |
PASSWORD: ${{ secrets.MATRIX_BOT_PASSWORD }} | |
ROOM: "#trustification:matrix.org" | |
jobs: | |
notify_channel: | |
runs-on: ubuntu-22.04 | |
if: github.event.pull_request.draft == false | |
steps: | |
- name: Send message | |
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 |