Skip to content

Commit

Permalink
Merge pull request #152 from ecmwf-actions/fix_sync_files
Browse files Browse the repository at this point in the history
Update anemoi sync files to fix initial broadcast
  • Loading branch information
HCookie authored Jan 31, 2025
2 parents a9b3896 + b5bad36 commit 17fa2ce
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
16 changes: 8 additions & 8 deletions sync-files/anemoi/.github/workflows/downstream-ci-hpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
codecov_upload: true
secrets: inherit

# Build downstream packages on HPC
downstream-ci-hpc:
name: downstream-ci-hpc
if: {% raw %}${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}{% endraw %}
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
with:
{{ repo_name }}: ecmwf/{{ repo_name }}{% raw %}@${{ github.event.pull_request.head.sha || github.sha }}{% endraw %}
secrets: inherit
# # Build downstream packages on HPC
# downstream-ci-hpc:
# name: downstream-ci-hpc
# if: {% raw %}${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}{% endraw %}
# uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
# with:
# {{ repo_name }}: ecmwf/{{ repo_name }}{% raw %}@${{ github.event.pull_request.head.sha || github.sha }}{% endraw %}
# secrets: inherit
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
types:
[opened, reopened, labeled, unlabeled]

permissions:
pull-requests: write

jobs:
assign-labels:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion sync-files/anemoi/.release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"changelog-type": "github",
"include-component-in-tag": false,
"include-v-in-tag": false,
"draft": true,
"draft-pull-request": true,
"pull-request-title-pattern": "chore${scope}: Preparing Next Release for ${component} ${version}",
"pull-request-header": ":robot: Automated Release PR\n\nThis PR was created by `release-please` to prepare the next release. Once merged:\n\n1. A new version tag will be created\n2. A GitHub release will be published\n3. The changelog will be updated\n\nChanges to be included in the next release:",
"pull-request-footer": "> [!IMPORTANT]\n> :warning: Merging this PR will:\n> - Create a new release\n> - Trigger deployment pipelines\n> - Update package versions\n\n **Before merging:**\n - Ensure all tests pass\n - Review the changelog carefully\n - Get required approvals\n\n [Release-please documentation](https://github.com/googleapis/release-please)",
Expand Down
8 changes: 4 additions & 4 deletions sync-files/general/python/.github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
# - package-ecosystem: "github-actions"
# directory: "/"
# schedule:
# interval: "monthly"
4 changes: 4 additions & 0 deletions sync-files/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ group:
exclude: |
.release-please-manifest.json
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
.github/workflows/push-to-private.yml
repos: |
ecmwf/anemoi-inference
Expand All @@ -79,6 +80,7 @@ group:
exclude: |
.release-please-manifest.json
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
.github/workflows/push-to-private.yml
repos: |
ecmwf/anemoi-registry
Expand All @@ -95,6 +97,7 @@ group:
exclude: |
.release-please-manifest.json
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
.github/workflows/push-to-private.yml
repos: |
ecmwf/anemoi-transform
Expand All @@ -111,6 +114,7 @@ group:
exclude: |
.release-please-manifest.json
.github/PULL_REQUEST_TEMPLATE/pull_request_template-core.md
.github/workflows/push-to-private.yml
repos: |
ecmwf/anemoi-utils
Expand Down

0 comments on commit 17fa2ce

Please sign in to comment.