Skip to content

Commit

Permalink
add merge for all jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzierep committed Aug 12, 2024
1 parent 78f5eca commit 7e14f03
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/fetch_all_tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ jobs:
bash bin/extract_all_tools.sh "${{ matrix.subset }}"
env:
GITHUB_API_KEY: ${{ secrets.GH_API_TOKEN }}
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit all tools
uses: s0/git-publish-subdir-action@develop
env:
Expand Down Expand Up @@ -88,6 +92,10 @@ jobs:
- name: Wordcloud and interactive table
run: |
bash bin/format_tools.sh
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit all tools
# add or commit any changes in results if there was a change, merge with main and push as bot
uses: s0/git-publish-subdir-action@develop
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/fetch_all_tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
bash bin/extract_all_tutorials.sh
env:
PLAUSIBLE_API_KEY: ${{ secrets.PLAUSIBLE_API_TOKEN }}
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit all tools
uses: s0/git-publish-subdir-action@develop
env:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/filter_communities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs:
- name: Run script
run: |
bash bin/get_community_tutorials.sh
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit results
# commit the new filtered data, only if stuff was changed
uses: s0/git-publish-subdir-action@develop
Expand Down Expand Up @@ -78,6 +82,10 @@ jobs:
- name: Run script
run: |
bash bin/update_tools_to_keep_exclude.sh
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit results
# commit the new filtered data, only if stuff was changed
uses: s0/git-publish-subdir-action@develop
Expand Down Expand Up @@ -110,6 +118,10 @@ jobs:
- name: Run script
run: |
bash bin/get_community_tools.sh
- name: Merge updates into results #s0/git-publish-subdir-action fails if there is a change on results while this job runs
run: |
cd results &&
git pull --no-rebase -s recursive -X ours
- name: Commit results
# commit the new filtered data, only if stuff was changed
uses: s0/git-publish-subdir-action@develop
Expand Down

0 comments on commit 7e14f03

Please sign in to comment.