Skip to content

Commit 3fca720

Browse files
authored
Merge pull request #60 from simonjbeaumont/revert-58-update-base-branch
Revert "Include changes to the target branch when action is re-run"
2 parents 717bc4b + 0725eca commit 3fca720

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

.github/workflows/soundness.yml

-9
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
with:
8484
persist-credentials: false
8585
submodules: true
86-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
8786
- name: Mark the workspace as safe
8887
# https://github.com/actions/checkout/issues/766
8988
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -105,7 +104,6 @@ jobs:
105104
with:
106105
persist-credentials: false
107106
submodules: true
108-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
109107
- name: Run documentation check
110108
run: |
111109
apt-get -qq update && apt-get -qq -y install curl yq
@@ -122,7 +120,6 @@ jobs:
122120
with:
123121
persist-credentials: false
124122
submodules: true
125-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
126123
- name: Run unacceptable language check
127124
env:
128125
UNACCEPTABLE_WORD_LIST: ${{ inputs.unacceptable_language_check_word_list}}
@@ -139,7 +136,6 @@ jobs:
139136
with:
140137
persist-credentials: false
141138
submodules: true
142-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
143139
- name: Run license header check
144140
env:
145141
PROJECT_NAME: ${{ inputs.license_header_check_project_name }}
@@ -156,7 +152,6 @@ jobs:
156152
with:
157153
persist-credentials: false
158154
submodules: true
159-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
160155
- name: Run broken symlinks check
161156
run: curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-broken-symlinks.sh | bash
162157

@@ -173,7 +168,6 @@ jobs:
173168
with:
174169
persist-credentials: false
175170
submodules: true
176-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
177171
- name: Mark the workspace as safe
178172
# https://github.com/actions/checkout/issues/766
179173
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -195,7 +189,6 @@ jobs:
195189
with:
196190
persist-credentials: false
197191
submodules: true
198-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
199192
- name: Mark the workspace as safe
200193
# https://github.com/actions/checkout/issues/766
201194
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -215,7 +208,6 @@ jobs:
215208
with:
216209
persist-credentials: false
217210
submodules: true
218-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
219211
- name: Run yamllint
220212
run: |
221213
which yamllint >/dev/null || ( apt-get update && apt-get install -y yamllint )
@@ -236,7 +228,6 @@ jobs:
236228
with:
237229
persist-credentials: false
238230
submodules: true
239-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
240231
- name: Run flake8
241232
run: |
242233
pip3 install flake8 flake8-import-order

.github/workflows/swift_package_test.yml

-4
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
run: swift --version
6969
- name: Checkout repository
7070
uses: actions/checkout@v4
71-
with:
72-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
7371
- name: Set environment variables
7472
if: ${{ inputs.linux_env_vars }}
7573
run: |
@@ -95,8 +93,6 @@ jobs:
9593
steps:
9694
- name: Checkout repository
9795
uses: actions/checkout@v4
98-
with:
99-
ref: ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
10096
- name: Pull Docker image
10197
id: pull_docker_image
10298
run: |

0 commit comments

Comments
 (0)