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

[2.8.x] Bump version of sharable workflows to v2 #11269

Merged
merged 2 commits into from May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/build-test.yml
Expand Up @@ -7,9 +7,6 @@ on:
branches:
- 2.8.x # Check 2.8.x branch after merge

schedule:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed that for it does not mislead anyone

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, let's remove it. Actually I was hoping we could just copy the file to the main branch 1:1 every time we change something. However we can not copy 1:1, because we can not add ref: 2.8.x here because that would not be correct of course for pull requests and pushes. There will alway be a small difference, like we alway need to remove on push and on pull_requestfor the cron job (besides the ref: 2.8.x), see #11271

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You wrote my thoughts 😄 At first like you I wanted to have a 1:1 copy and to add comment like "DON'T WORK IN NON-DEFAULT BRANCH". But when I understood that in main branch we should remove on/pull_request section and add ref in every jobs then I decided remove it 😄

- cron: "0 3 * * *" # Nightly build (@daily)

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
Expand Down Expand Up @@ -61,7 +58,7 @@ jobs:
check-binary-compatibility:
name: Binary Compatibility
needs: "prefetch-for-caching"
uses: playframework/.github/.github/workflows/binary-check.yml@v1
uses: playframework/.github/.github/workflows/binary-check.yml@v2

check-code-style-docs:
name: Code Style Docs
Expand Down Expand Up @@ -168,4 +165,4 @@ jobs:
- "tests"
- "docs-tests"
- "scripted-tests"
uses: playframework/.github/.github/workflows/rtm.yml@v1
uses: playframework/.github/.github/workflows/rtm.yml@v2
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
publish-artifacts:
name: Publish / Artifacts
uses: playframework/.github/.github/workflows/publish.yml@v1
uses: playframework/.github/.github/workflows/publish.yml@v2
secrets:
username: ${{ secrets.SONATYPE_USERNAME }}
password: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down