Skip to content

Update DMD rewrite

Update DMD rewrite #30

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: Update DMD rewrite
on:
schedule:
- cron: "0 0 * * *" # run every day at 00:00
workflow_dispatch: # enable manual runs
permissions:
contents: write
jobs:
update-dmd-rewrite:
name: Update DMD rewrite
if: github.repository == 'ldc-developers/ldc' # don't run for forks
runs-on: ubuntu-latest
container:
image: ubuntu:22.04 # we need git v2.34 from vanilla Ubuntu 22.04
timeout-minutes: 20
steps:
- name: Install git v2.34 and git-filter-repo v2.34.0
run: |
set -eux
apt-get -q update
apt-get install -yq git git-filter-repo
- uses: actions/checkout@v6
with:
submodules: false
- run: tools/update-dmd-rewrite.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}