Skip to content

Commit

Permalink
Minor fixes to improve CI stability (#295)
Browse files Browse the repository at this point in the history
* Ignore .DS_Store files

* Tweak workflow timing

* Add workflow concurrency controls
  • Loading branch information
sd109 authored Feb 6, 2025
1 parent 059f57e commit 5ccf4e1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and test main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Build and test PR

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
types:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/purge_defunct_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
# Run nightly
schedule:
- cron: '0 0 * * *'
- cron: "0 6 * * *"

jobs:
purge_defunct_images:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ clouds.yaml*
packer-manifest.json
s3cfg
venv
**/.DS_Store

0 comments on commit 5ccf4e1

Please sign in to comment.