verilog_data-1 / The-OpenROAD-Project_OpenROAD-flow-scripts /.github /workflows /github-actions-cron-update-yosys.yml
Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified Download The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-cron-update-yosys.yml from SAIFIINDUSTRIES/verilog_data-1: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-cron-update-yosys.yml
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-1/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-cron-update-yosys.yml
-
curl -L -o github-actions-cron-update-yosys.yml https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-cron-update-yosys.yml
1.62 kB
| name: Create draft PR for updated YOSYS submodule | |
| on: | |
| push: | |
| schedule: | |
| - cron: "0 8 * * MON" | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| update: | |
| runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }} | |
| steps: | |
| - name: Check out repository code recursively | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Pull changes in yosys submodule | |
| id: remote-update | |
| run: | | |
| cd tools/yosys | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| git config --get remote.origin.fetch | |
| git fetch --all --tags | |
| latesttag=$(git describe --tags `git rev-list --tags --max-count=1`) | |
| echo "::set-output name=has_update::$(git --no-pager diff --name-only ${latesttag}..HEAD)" | |
| git checkout ${latesttag} | |
| - if: "steps.remote-update.outputs.has_update != ''" | |
| name: Create Draft PR | |
| uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 | |
| with: | |
| token: ${{ github.token }} | |
| signoff: true | |
| delete-branch: true | |
| title: 'Update yosys submodule' | |
| reviewers: | | |
| habibayassin | |
| draft: true | |
| branch: update-yosys | |
| commit-message: | | |
| [BOT] Update yosys submodule | |