Skip to content

Update the recipes #115

Update the recipes

Update the recipes #115

Workflow file for this run

name: Update the recipes
on:
workflow_dispatch:
schedule:
- cron: '0 8 * * 5'
jobs:
pr:
runs-on: ubuntu-latest
strategy:
matrix:
base_ref:
- akirak
upstream:
- 'https://github.com/melpa/melpa.git'
upstream_branch:
- 'master'
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
sparse-checkout: '.'
ref: ${{ matrix.base_ref }}
- name: Fetch the upstream
run: |
git remote add upstream ${{ matrix.upstream }}
git fetch upstream ${{ matrix.upstream_branch }}
- name: Make a temporary branch
run: |
git switch -C tmp upstream/${{ matrix.upstream_branch }}
git push --force origin HEAD
env:
GITHUB_TOKEN: ${{ GITHUB_TOKEN }}

Check failure on line 42 in .github/workflows/merge-upstream.yml

View workflow run for this annotation

GitHub Actions / Update the recipes

Invalid workflow file

The workflow is not valid. .github/workflows/merge-upstream.yml (Line: 42, Col: 23): Unrecognized named-value: 'GITHUB_TOKEN'. Located at position 1 within expression: GITHUB_TOKEN
- name: Cherry pick commits
run: |
git cherry-pick --strategy ort -X theirs ..${{ matrix.base_ref }}
- name: Create a pull request
uses: peter-evans/create-pull-request@v5
with:
branch: My recipes
title: 'Rebase my branch onto the latest upstream'
labels: automation