Skip to content

Commit 0af67f5

Browse files
committed
workflows leave workflows untouched
1 parent 37aa2bb commit 0af67f5

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.gitattributes

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,6 @@ codecov.yml export-ignore
3333
# Perform substitutions when `git export`ing these files
3434
.VERSION export-subst
3535

36-
.github/workflows/fpm-deployment.yml
37-
.github/workflows/sync.yml
36+
# -- keep these files on merge
37+
config/fypp_deployment.py merge=ours
38+
.github/workflows/* merge=ours

.github/workflows/sync.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
name: sync stdlib + enable XDP and QP
1+
name: sync most of the fork with upstream stdlib
2+
3+
# permissions:
4+
# contents: write
25

36
on:
47
schedule:
@@ -19,10 +22,12 @@ jobs:
1922
git remote add upstream https://github.com/fortran-lang/stdlib.git
2023
git fetch upstream
2124
22-
git checkout -B master upstream/master
25+
- name: merge upstream/master
26+
run: |
27+
git merge upstream/master --allow-unrelated-histories --no-edit
2328
2429
- name: commit & push
2530
run: |
2631
git config user.name "github-actions[bot]"
2732
git config user.email "github-actions[bot]@users.noreply.github.com"
28-
git push --force origin master
33+
git push origin master

0 commit comments

Comments
 (0)