Update Elixir Manifests #58
This file contains hidden or 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 Elixir Manifests | |
| on: | |
| schedule: | |
| - cron: "0 6 * * 0" # Weekly on Sundays at 6 AM UTC | |
| workflow_dispatch: | |
| jobs: | |
| update-manifests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v27 | |
| - name: Setup Elixir | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| elixir-version: 1.18.4 | |
| otp-version: 27 | |
| - name: Run fetch script | |
| run: ./scripts/fetch_elixir.exs | |
| - name: Check for changes | |
| id: changes | |
| run: | | |
| if git diff --quiet manifests/; then | |
| echo "has_changes=false" >> $GITHUB_OUTPUT | |
| else | |
| echo "has_changes=true" >> $GITHUB_OUTPUT | |
| fi | |
| - name: Create Pull Request | |
| if: steps.changes.outputs.has_changes == 'true' | |
| uses: peter-evans/create-pull-request@v5 | |
| with: | |
| token: ${{ secrets.TOKEN }} | |
| commit-message: "update: elixir manifests" | |
| title: "Update Elixir manifests" | |
| body: | | |
| ## Summary | |
| - Automatically updated Elixir version manifests with latest releases | |
| ## Test plan | |
| - [ ] Verify new versions build correctly | |
| - [ ] Check OTP compatibility ranges are accurate | |
| branch: update-elixir-manifests | |
| delete-branch: true |