Skip to content

Commit

Permalink
GitHub actions: Use ecmwf rather than ecmwf-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Feb 28, 2025
1 parent 3d22026 commit 512336b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheel-wrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ on:
jobs:
python-wrapper-wheel:
name: Python Wrapper Wheel
uses: ecmwf-actions/reusable-workflows/.github/workflows/python-wrapper-wheel.yml@main
uses: ecmwf/reusable-workflows/.github/workflows/python-wrapper-wheel.yml@main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ on:

jobs:
deploy:
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
uses: ecmwf/reusable-workflows/.github/workflows/create-package.yml@v2
secrets: inherit
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
downstream-ci:
name: downstream-ci
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci.yml@main
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci.yml@main
with:
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
codecov_upload: true
Expand All @@ -40,10 +40,10 @@ jobs:
pull-requests: write
steps:
- name: Dispatch private downstream CI
uses: ecmwf-actions/dispatch-private-downstream-ci@v1
uses: ecmwf/dispatch-private-downstream-ci@v1
with:
token: ${{ secrets.GH_REPO_READ_TOKEN }}
owner: ecmwf-actions
owner: ecmwf
repository: private-downstream-ci
event_type: downstream-ci
payload: '{"eccodes": "ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}"}'
Expand All @@ -52,7 +52,7 @@ jobs:
downstream-ci-hpc:
name: downstream-ci-hpc
if: ${{ !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
uses: ecmwf-actions/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
uses: ecmwf/downstream-ci/.github/workflows/downstream-ci-hpc.yml@main
with:
eccodes: ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}
secrets: inherit
Expand All @@ -67,10 +67,10 @@ jobs:
pull-requests: write
steps:
- name: Dispatch private downstream CI
uses: ecmwf-actions/dispatch-private-downstream-ci@v1
uses: ecmwf/dispatch-private-downstream-ci@v1
with:
token: ${{ secrets.GH_REPO_READ_TOKEN }}
owner: ecmwf-actions
owner: ecmwf
repository: private-downstream-ci
event_type: downstream-ci-hpc
payload: '{"eccodes": "ecmwf/eccodes@${{ github.event.pull_request.head.sha || github.sha }}","skip_matrix_jobs": "nvidia-22.11"}'
Expand All @@ -85,7 +85,7 @@ jobs:
if: ${{ always() && !github.event.pull_request.head.repo.fork && github.event.action != 'labeled' || github.event.label.name == 'approved-for-ci' }}
steps:
- name: Trigger Teams notification
uses: ecmwf-actions/notify-teams@v1
uses: ecmwf/notify-teams@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
needs_context: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/label-public-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ on:

jobs:
label:
uses: ecmwf-actions/reusable-workflows/.github/workflows/label-pr.yml@v2
uses: ecmwf/reusable-workflows/.github/workflows/label-pr.yml@v2
8 changes: 4 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_REPO_READ_TOKEN }}
steps:
- uses: ecmwf-actions/reusable-workflows/ci-hpc@v2
- uses: ecmwf/reusable-workflows/ci-hpc@v2
with:
github_user: ${{ secrets.BUILD_PACKAGE_HPC_GITHUB_USER }}
github_token: ${{ secrets.GH_REPO_READ_TOKEN }}
Expand Down Expand Up @@ -54,14 +54,14 @@ jobs:
- libaec
- ecbuild
steps:
- uses: ecmwf-actions/reusable-workflows/build-package-with-config@v2
- uses: ecmwf/reusable-workflows/build-package-with-config@v2
with:
repository: ecmwf/eccodes@${{ github.sha }}
build_config: .github/ci-config.yml

deploy:
needs: [test-hpc, test-macos]
uses: ecmwf-actions/reusable-workflows/.github/workflows/create-package.yml@v2
uses: ecmwf/reusable-workflows/.github/workflows/create-package.yml@v2
with:
skip_checks: true
cpack_options_rpm: -D CPACK_PACKAGE_FILE_NAME=eccodes-nightly-Linux-x86_64
Expand All @@ -85,7 +85,7 @@ jobs:
if: always()
steps:
- name: Trigger Teams notification
uses: ecmwf-actions/notify-teams@v1
uses: ecmwf/notify-teams@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
needs_context: ${{ toJSON(needs) }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-new-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Notify new PR
uses: ecmwf-actions/notify-teams-pr@v1
uses: ecmwf/notify-teams-pr@v1
with:
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# It will correctly handle addition of any new and removal of existing Git objects.
sync:
name: sync
uses: ecmwf-actions/reusable-workflows/.github/workflows/sync.yml@v2
uses: ecmwf/reusable-workflows/.github/workflows/sync.yml@v2
secrets:
target_repository: eccodes/eccodes
target_username: ClonedDuck
Expand Down

0 comments on commit 512336b

Please sign in to comment.