Skip to content

pkg-update

pkg-update #1910

Workflow file for this run

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 }}"