Skip to content

Commit 8e02d87

Browse files
authored
Development => main update (mongodb#35)
Fix remaining github action issues
1 parent 1671da2 commit 8e02d87

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/Remove-Function-Name-Prefix.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
- run: |
13-
git pull origin ${{ github.base_ref }} --rebase
13+
git pull origin ${{ github.head_ref }} --rebase
1414
for file in $(find ./snippets/functions/ -type f -name '*.js'); do
1515
if [[ "$file" == *"_"* ]];then
1616
justfile=$(basename -- "$file")
@@ -23,5 +23,5 @@ jobs:
2323
done
2424
git config --global user.email "[email protected]"
2525
git config --global user.name "ActionBot"
26-
git commit -m 'test'
27-
git push -f
26+
git commit --amend --no-edit -m 'remove function name prefix'
27+
git push -f origin HEAD:${{ github.head_ref }}

.github/workflows/Update-Commit-Hash.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- name: Update file with merge commit hash
1414
run: |
15-
git pull origin ${{ github.base_ref }} --rebase
16-
git log -1 --format='%H' > latestCommit.md
17-
git config --global user.email "[email protected]"
18-
git config --global user.name "ActionBot"
19-
git add latestCommit.md
20-
git commit -m 'update commit hash'
21-
git push
15+
# git pull origin main --rebase
16+
# git log -1 --format='%H' > latestCommit.md
17+
# git config --global user.email "[email protected]"
18+
# git config --global user.name "ActionBot"
19+
# git add latestCommit.md
20+
# git commit -m 'update commit hash'
21+
# git push

.github/workflows/Validate-Manifests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
with:
1616
schema: ./snippets/manifest-schema.json
1717
files: ./snippets/functions/**/**.json
18-
# returns valid==true
18+
# returns valid==true

0 commit comments

Comments
 (0)