OTP bump #3
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: OTP bump | |
| on: | |
| #push: | |
| # branches: | |
| # - "*" | |
| schedule: | |
| - cron: "0 0 1 */2 *" # Every two months | |
| jobs: | |
| otp-bump: | |
| name: Bump OTP versions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
| with: | |
| submodules: true | |
| - name: Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: 3.12 | |
| - name: Setup dependencies | |
| run: pip install requests beautifulsoup4 | |
| - name: Pull OTP versions from Debian | |
| run: python3 bump-otp-matrix.py | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | |
| with: | |
| token: ${{ secrets.OTP_BUMP }} | |
| delete-branch: true | |
| commit-message: 'Bump OTP' | |
| branch: 'create-pull-request/otp-bump' | |
| title: 'OTP bump' | |
| body: | | |
| ### OTP bump | |
| Aligned versions with [Debian](https://packages.debian.org/search?keywords=erlang). |