Bump rake from 13.0.6 to 13.1.0 #353
Workflow file for this run
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: Dump config | |
on: [push, pull_request] | |
jobs: | |
check-token: | |
name: Check for token | |
runs-on: ubuntu-latest | |
outputs: | |
token-held: ${{ steps.set_output.outputs.token_held }} | |
steps: | |
- name: check for token | |
id: set_output | |
run: '[ -z "$TOKEN_HELD" ] || echo "token_held=true" >> "$GITHUB_OUTPUT"' | |
env: | |
TOKEN_HELD: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} | |
dump-config: | |
name: Dump config | |
needs: check-token | |
if: needs.check-token.outputs.token-held == 'true' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }} | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.2.0' | |
bundler-cache: true | |
- name: Dump config | |
run: bundle exec rake config:dump | |
- name: Commit & push | |
uses: EndBug/add-and-commit@v9 | |
id: push | |
with: | |
add: 'test/fixtures/full_config.yml' | |
default_author: github_actions | |
message: > | |
Dump full RuboCop config | |
This automated commit dumps the contents of the full RuboCop config. | |
[dependabot skip] |