Set the parameters of the GitHub action commiters
@@ -55,14 +55,14 @@ jobs:
run: |
nix build ./#checks.x86_64-linux.nickel-against-${{ matrix.rust_channel }}-rust-channel
- # TODO:
- # - name: Commit `scripts/channel_${{ matrix.channel }}.toml`
- # uses: stefanzweifel/git-auto-commit-action@v4
- # with:
- # commit_message: 'Update `${{ matrix.channel }}` Rust channel [ci skip]'
- # branch: 'master'
- # file_pattern: scripts/channel_${{ matrix.channel }}.toml
- # commit_user_name: ???
- # commit_user_email: ???
- # commit_author: GitHub Actions <???>
- # if: github.repository == 'tweag/nickel'
+ - name: Commit `scripts/channel_${{ matrix.channel }}.toml`
+ uses: stefanzweifel/git-auto-commit-action@v4
+ with:
+ commit_message: 'Update `${{ matrix.channel }}` Rust channel [ci skip]'
+ branch: 'master'
+ file_pattern: scripts/channel_${{ matrix.channel }}.toml
+ # See https://github.community/t/github-actions-bot-email-address/17204/6
+ commit_user_name: github-actions[bot]
+ commit_user_email: 41898282+github-actions[bot]@users.noreply.github.com
+ commit_author: GitHub Actions
+ if: github.repository == 'tweag/nickel'
