pkg-update #1886
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
name: pkg-update | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
push: | |
branches: | |
- actions/trigger/pkg-update | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
# https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#push-using-ssh-deploy-keys | |
# https://github.com/tkf/julia-merge-except-manifests | |
- uses: tkf/julia-merge-except-manifests@v1 | |
with: | |
target: create-pull-request/pkg-update | |
# https://github.com/tkf/julia-update-manifests | |
- name: Update */Manifest.toml (1.6) | |
uses: tkf/julia-update-manifests@v1 | |
with: | |
version: '1.6' | |
projects: test/environments/main docs | |
- name: Update */Manifest.toml (1.7) | |
uses: tkf/julia-update-manifests@v1 | |
with: | |
version: '1.7' | |
projects: benchmark | |
# https://github.com/peter-evans/create-pull-request | |
# https://github.com/marketplace/actions/create-pull-request | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: Update */Manifest.toml | |
title: 'Update */Manifest.toml' | |
body: | | |
## Commit Message | |
Update */Manifest.toml | |
# When merging PR via Mergify using squash method, it can | |
# create large commit message by listing titles of all | |
# commits (default behavior of GitHub squash merge). | |
# Overriding the message here by using Mergify's API. | |
# | |
# --- Commit Message and squash Method | |
# https://doc.mergify.io/actions.html#commit-message-and-squash-method | |
labels: no changelog | |
branch: create-pull-request/pkg-update | |
base: master | |
- name: Check output environment variable | |
run: echo "Pull Request Number - ${{ env.PULL_REQUEST_NUMBER }}" |