Skip to content

Commit dc1650e

Browse files
authored
Merge pull request #111 from Burton2000/main
MLECO-3755: Fix github actions script for syncing
2 parents 32f8f84 + ca104be commit dc1650e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/cmsis-pack-examples-push.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2022 Arm Limited. All rights reserved.
1+
# Copyright (c) 2022-2023 Arm Limited. All rights reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -29,20 +29,21 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333
- name: Fetch action
3434
id: get-cmsis-pack-files
3535
uses: Rishabh510/[email protected]
3636
with:
3737
path: "cmsis-pack-examples/"
3838
type: ".yml"
39-
- name: Pushes test file
40-
uses: nkoppel/push-files-to-another-repository@v1.1.1
39+
- name: Pushes to another repository
40+
uses: cpina/github-action-push-to-another-repository@v1.5.1
4141
env:
4242
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
4343
with:
44-
source-files: 'cmsis-pack-examples/*'
45-
destination-username: 'Arm-Examples'
46-
destination-repository: 'mlek-corstone-300-examples'
47-
destination-branch: 'main'
48-
commit-email: '[email protected]'
44+
source-directory: 'cmsis-pack-examples'
45+
destination-github-username: 'Arm-Examples'
46+
destination-repository-name: 'mlek-corstone-300-examples'
47+
user-email: '[email protected]'
48+
target-branch: 'main'
49+

0 commit comments

Comments
 (0)