Skip to content

Resyntax Autofixer

Resyntax Autofixer #74

name: Resyntax Autofixer
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
autofix:
runs-on: ubuntu-latest
if: github.repository_owner == 'racket'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout code
uses: actions/[email protected]
- name: Install Racket
uses: Bogdanp/[email protected]
with:
version: current
local_catalogs: $GITHUB_WORKSPACE
dest: '"${HOME}/racketdist-current-CS"'
sudo: never
- name: Register local packages
run: |
raco pkg install -i --auto --no-setup --skip-installed drracket-test drracket-tool-test
raco pkg update --auto --no-setup drracket drracket-test drracket-tool drracket-tool-test drracket-tool-lib drracket-tool-doc drracket-plugin-lib
- name: Install local packages
run: raco setup --pkgs drracket drracket-test drracket-tool drracket-tool-test drracket-tool-lib drracket-tool-doc drracket-plugin-lib
- name: Create a Resyntax pull request
uses: jackfirth/[email protected]
with:
private-key: ${{ secrets.RESYNTAX_APP_PRIVATE_KEY }}