There was an error while loading. Please reload this page.
1 parent 0d2f034 commit b772d19Copy full SHA for b772d19
1 file changed
.github/workflows/downloadfile.yml
@@ -2,11 +2,14 @@ name: Download File from DEV S3 Bucket and Commit to Repo
2
3
on:
4
workflow_dispatch: # Allow manual trigger of the workflow
5
-
+ push:
6
+ branches:
7
+ - feat/53_auto_postwarnings
8
+
9
jobs:
10
download_file:
11
runs-on: ubuntu-latest
12
13
steps:
14
# Step 1: Checkout the code from the repository
15
- name: Checkout repository
@@ -41,6 +44,6 @@ jobs:
41
44
git config --global user.email "amandeep.bhathal@gov.bc.ca"
42
45
git add . # Add the downloaded file (path relative to the repo root)
43
46
git commit -m "Add downloaded file from BCBOX" || echo "No changes to commit"
47
48
# Push back to the same branch that triggered the workflow
49
git push origin HEAD:${{ github.ref_name }} || echo "No changes to push"
0 commit comments