Skip to content

Commit

Permalink
Removed pull_request trigger and changed concurrency rule
Browse files Browse the repository at this point in the history
  • Loading branch information
clyde-johnston committed Aug 13, 2023
1 parent 41a588d commit 9791a45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: 'Test and Release PyCyphal'
on: [ push, pull_request ]
on: push

# Ensures that only one workflow is running at a time - required for duplicate pushes and repushing a PR
# Ensures that only one workflow is running at a time
concurrency:
group: ${{ github.workflow }}
group: ${{ github.workflow_sha }}
cancel-in-progress: true

jobs:
Expand All @@ -30,6 +30,7 @@ jobs:
- name: Install dependencies
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get --ignore-missing update || true
sudo apt-get install -y linux-*-extra-$(uname -r) graphviz ncat
fi
git submodule update --init --recursive
Expand Down

0 comments on commit 9791a45

Please sign in to comment.