update-memcpy #91
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: update-memcpy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
paths: | |
- generate.py | |
- fetch_impls.sh | |
- .github/workflows/update-memcpy.yml | |
schedule: | |
- cron: '0 0 * * 1' | |
jobs: | |
update: | |
if: github.repository == 'DMOJ/libmemcpy' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Update memcpy implementations | |
run: ./fetch_impls.sh | |
- name: Generate new code | |
run: ./generate.py | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
author: dmoj-build <build@dmoj.ca> | |
committer: dmoj-build <build@dmoj.ca> | |
commit-message: 'impls: fetch from upstream glibc' | |
title: 'Update implementations from upstream glibc' | |
body: This PR has been auto-generated to update memcpy implementations from upstream glibc. | |
reviewers: Xyene, quantum5 | |
branch: update-impls |