Create PR for new Electron version #640
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: Create PR for new Electron version | |
on: | |
schedule: | |
# At 9am every day | |
- cron: '0 9 * * *' | |
jobs: | |
test: | |
name: Check new versions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: 'package.json' | |
- run: yarn install | |
- name: Update Versions | |
run: yarn update-electron-versions | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: test/new-electron-versions | |
delete-branch: true | |
title: 'test: New Electron versions' | |
commit-message: 'test: New Electron versions' | |
body: | | |
Automatically generated PR to test new Electron releases |