Skip to content

cargo vendor 🚚 on - Convert directory fbcode/python to use the Ruff Formatter Summary: Might as well convert all of fbcode/python. Converts the directory specified to use the Ruff formatter in pyfmt ruff_dog If this diff causes merge conflicts when rebasing, please run hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt on your diff, and amend any changes before rebasing onto latest. That should help reduce or eliminate any merge conflicts. allow-large-files Reviewed By: zertosh... #107

cargo vendor 🚚 on - Convert directory fbcode/python to use the Ruff Formatter Summary: Might as well convert all of fbcode/python. Converts the directory specified to use the Ruff formatter in pyfmt ruff_dog If this diff causes merge conflicts when rebasing, please run hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt on your diff, and amend any changes before rebasing onto latest. That should help reduce or eliminate any merge conflicts. allow-large-files Reviewed By: zertosh...

cargo vendor 🚚 on - Convert directory fbcode/python to use the Ruff Formatter Summary: Might as well convert all of fbcode/python. Converts the directory specified to use the Ruff formatter in pyfmt ruff_dog If this diff causes merge conflicts when rebasing, please run hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt on your diff, and amend any changes before rebasing onto latest. That should help reduce or eliminate any merge conflicts. allow-large-files Reviewed By: zertosh... #107

Workflow file for this run

on:
push:
branches:
- main
name: cargo vendor and commit
run-name: cargo vendor 🚚 on - ${{ github.event.head_commit.message }}
jobs:
cargo_vendor:
runs-on: ubuntu-latest
steps:
- name: Delete release branch
uses: dawidd6/action-delete-branch@v3
with:
soft_fail: true # set to true so that if the branch doesn't exist action doesnt fail
branches: release
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- run: cargo vendor vendor_external
- name: Create .cargo dir
run: |
mkdir -p .cargo
- name: Create cargo config
shell: bash
run: |
cat << EOF > .cargo/config.toml
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor_external"
EOF
- name: commit to 'new' release branch
uses: EndBug/[email protected]
with:
new_branch: release
author_name: GitHub Action
author_email: [email protected]