Skip to content

Commit 38cd73b

Browse files
authored
Stop committing resources to an external repo (#28963)
This has been integrated into this repo (`builds/facebook-fbsource`) so we no longer need the extra repo
1 parent e3fbb51 commit 38cd73b

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/commit_artifacts.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -210,42 +210,6 @@ jobs:
210210
commit_user_email: ${{ github.actor }}@users.noreply.github.com
211211
create_branch: true
212212

213-
commit_fbsource_artifacts_external_repo:
214-
needs: download_artifacts
215-
runs-on: ubuntu-latest
216-
if: ${{ (github.ref == 'refs/heads/main' && needs.download_artifacts.outputs.fbsource_branch_count == '0') || github.ref == 'refs/heads/meta-fbsource' }}
217-
steps:
218-
- uses: actions/checkout@v4
219-
with:
220-
ref: main
221-
repository: facebook/react-fbsource-import
222-
token: ${{secrets.FBSOURCE_SYNC_PUSH_TOKEN}}
223-
- name: Ensure clean directory
224-
run: rm -rf compiled-rn
225-
- uses: actions/download-artifact@v3
226-
with:
227-
name: compiled-rn
228-
path: compiled-rn/
229-
- run: git status -u
230-
- name: Check if only the REVISION file has changed
231-
id: check_should_commit
232-
run: |
233-
if git status --porcelain | grep -qv '/REVISION$'; then
234-
echo "should_commit=true" >> "$GITHUB_OUTPUT"
235-
else
236-
echo "should_commit=false" >> "$GITHUB_OUTPUT"
237-
fi
238-
- name: Commit changes to branch
239-
if: steps.check_should_commit.outputs.should_commit == 'true'
240-
uses: stefanzweifel/git-auto-commit-action@v4
241-
with:
242-
commit_message: |
243-
${{ github.event.head_commit.message }}
244-
245-
DiffTrain build for commit https://github.com/facebook/react/commit/${{ github.sha }}.
246-
commit_user_name: ${{ github.actor }}
247-
commit_user_email: ${{ github.actor }}@users.noreply.github.com
248-
249213
commit_fbsource_artifacts:
250214
needs: download_artifacts
251215
if: ${{ (github.ref == 'refs/heads/main' && needs.download_artifacts.outputs.fbsource_branch_count == '0') || github.ref == 'refs/heads/meta-fbsource' }}

0 commit comments

Comments
 (0)