Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable test GHAs for bump merges. #718

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/tools/diffReleases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ then
else
echo "REINDEXING RECOMMENDED" > diffReleases.txt
fi
echo "diff output done"

echo >> diffReleases.txt
git log $1..$2 --grep='^bump' --invert-grep --pretty=format:"%h %as %an%x09%s" >> diffReleases.txt
git log $first_release..$last_release --grep='^bump' --invert-grep --pretty=format:"%h %as %an%x09%s" >> diffReleases.txt
18 changes: 10 additions & 8 deletions .github/workflows/diff-releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@ name: Diff Releases

on:
workflow_dispatch:
inputs:
first-release-tag:
description: 'First release tag (e.g. 0.0.365)'
required: true
last-release-tag:
description: 'Last release tag (e.g. 0.0.370)'
required: true
inputs:
first-release-tag:
description: 'First release tag (e.g. 0.0.365)'
required: true
last-release-tag:
description: 'Last release tag (e.g. 0.0.370)'
required: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Generate git log diff file between two releases
run: .github/tools/diffReleases.sh
run: .github/tools/diffReleases.sh $FIRST_RELEASE_TAG $LAST_RELEASE_TAG
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FIRST_RELEASE_TAG: ${{ github.event.inputs.first-release-tag }}
LAST_RELEASE_TAG: ${{ github.event.inputs.last-release-tag }}
- name: Save diff file
uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/generated-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Set up AdoptOpenJDK 11
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/indexer-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Set up AdoptOpenJDK 11
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/service-test-mariadb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
--health-retries 5
ports:
- 5432:3306
if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Set up AdoptOpenJDK 11
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/service-test-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
--health-retries 5
ports:
- 5432:5432
if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Set up AdoptOpenJDK 11
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
ports:
- 5432:5432

if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ui-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
matrix:
node-version: [19.x]

if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/underlay-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains( github.event.sender.login, 'marikomedlock')"
steps:
- uses: actions/checkout@v3
- name: Set up AdoptOpenJDK 11
Expand Down
Loading