diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflow/repo-sync.yml | 25 | ||||
-rw-r--r-- | .github/workflows/dependency-updates.yml | 1 | ||||
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 7 |
3 files changed, 0 insertions, 33 deletions
diff --git a/.github/workflow/repo-sync.yml b/.github/workflow/repo-sync.yml deleted file mode 100644 index fce0721c7..000000000 --- a/.github/workflow/repo-sync.yml +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | name: Repo Sync | ||
2 | |||
3 | on: | ||
4 | schedule: | ||
5 | - cron: "*/15 * * * *" | ||
6 | |||
7 | jobs: | ||
8 | repo-sync: | ||
9 | name: Repo Sync | ||
10 | runs-on: ubuntu-latest | ||
11 | steps: | ||
12 | - uses: actions/checkout@v1 | ||
13 | - uses: repo-sync/github-sync@v2 | ||
14 | name: Sync repository to branch | ||
15 | with: | ||
16 | source_repo: ${{ secrets.SOURCE_REPO }} | ||
17 | source_branch: "master" | ||
18 | destination_branch: ${{ secrets.INTERMEDIATE_BRANCH }} | ||
19 | github_token: ${{ secrets.GITHUB_TOKEN }} | ||
20 | - uses: repo-sync/pull-request@v2 | ||
21 | name: Create pull request | ||
22 | with: | ||
23 | source_branch: ${{ secrets.INTERMEDIATE_BRANCH }} | ||
24 | destination_branch: "master" | ||
25 | github_token: ${{ secrets.GITHUB_TOKEN }} | ||
diff --git a/.github/workflows/dependency-updates.yml b/.github/workflows/dependency-updates.yml index eb1fb56f2..f55f28334 100644 --- a/.github/workflows/dependency-updates.yml +++ b/.github/workflows/dependency-updates.yml | |||
@@ -26,7 +26,6 @@ jobs: | |||
26 | uses: actions/checkout@v2 | 26 | uses: actions/checkout@v2 |
27 | with: | 27 | with: |
28 | submodules: recursive | 28 | submodules: recursive |
29 | fetch-depth: 0 | ||
30 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 29 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
31 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 30 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
32 | shell: bash | 31 | shell: bash |
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 6f89fbe25..f326abfd5 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -45,7 +45,6 @@ jobs: | |||
45 | with: | 45 | with: |
46 | ref: nightly | 46 | ref: nightly |
47 | submodules: recursive | 47 | submodules: recursive |
48 | fetch-depth: 0 | ||
49 | - id: should_run | 48 | - id: should_run |
50 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output | 49 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output |
51 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'nightly branch')) }} | 50 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'nightly branch')) }} |
@@ -86,13 +85,11 @@ jobs: | |||
86 | with: | 85 | with: |
87 | submodules: recursive | 86 | submodules: recursive |
88 | ref: nightly | 87 | ref: nightly |
89 | fetch-depth: 0 | ||
90 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 88 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
91 | uses: actions/checkout@v2 | 89 | uses: actions/checkout@v2 |
92 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 90 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
93 | with: | 91 | with: |
94 | submodules: recursive | 92 | submodules: recursive |
95 | fetch-depth: 0 | ||
96 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 93 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
97 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 94 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
98 | shell: bash | 95 | shell: bash |
@@ -185,13 +182,11 @@ jobs: | |||
185 | with: | 182 | with: |
186 | submodules: recursive | 183 | submodules: recursive |
187 | ref: nightly | 184 | ref: nightly |
188 | fetch-depth: 0 | ||
189 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 185 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
190 | uses: actions/checkout@v2 | 186 | uses: actions/checkout@v2 |
191 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 187 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
192 | with: | 188 | with: |
193 | submodules: recursive | 189 | submodules: recursive |
194 | fetch-depth: 0 | ||
195 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 190 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
196 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 191 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
197 | shell: bash | 192 | shell: bash |
@@ -276,13 +271,11 @@ jobs: | |||
276 | with: | 271 | with: |
277 | submodules: recursive | 272 | submodules: recursive |
278 | ref: nightly | 273 | ref: nightly |
279 | fetch-depth: 0 | ||
280 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 274 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
281 | uses: actions/checkout@v2 | 275 | uses: actions/checkout@v2 |
282 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 276 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
283 | with: | 277 | with: |
284 | submodules: recursive | 278 | submodules: recursive |
285 | fetch-depth: 0 | ||
286 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 279 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
287 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 280 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
288 | shell: bash | 281 | shell: bash |