forked from f4pga/f4pga-arch-defs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request f4pga#2322 from antmicro/add-pr-creation-conda-loc…
…k-ci gh-actions: update conda lock version and issue PR with deploy key
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,15 +17,23 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
ref: 'master' # It will be the PR's base | ||
ssh-key: ${{ secrets.SSH_DEPLOY_KEY }} | ||
|
||
- name: Update Lock and Issue a Pull Request | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: SymbiFlow/actions/update_conda_lock@3fdc436e761a6312c3e0a554f18b727c34434106 | ||
- name: Update Conda Lock | ||
uses: SymbiFlow/actions/update_conda_lock@c6142a4ec7859653352757eb8f7c4630f63f96e3 | ||
with: | ||
branch_name_core: 'update_conda_lock' | ||
conda_lock_file: 'conda_lock.yml' | ||
environment_file: 'environment.yml' | ||
gh_access_token: ${{ secrets.GITHUB_TOKEN }} | ||
user_email: '[email protected]' | ||
user_name: 'SymbiFlow Robot' | ||
|
||
- name: Issue Pull Request | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "[BOT] Conda Lock Update" | ||
title: "[BOT] Conda Lock Update" | ||
body: Pull Request created by the conda lock update workflow. | ||
branch: bot-conda-lock-update | ||
labels: bot-conda-lock-update,kokoro:force-run | ||
delete-branch: true | ||
signoff: true |