@@ -27,10 +27,10 @@ The docker image of this Action includes the following [Pronto Runners](https://
2727
2828# Inputs
2929
30- | name | description | default |
31- | --- | --- | --- |
32- | ` runners ` | Space-separated list of pronto runners to run. Must be the preinstalled runners from the list above. | ` rubocop ` |
33- | ` target ` | The git target pronto will diff against (` -c ` ) | ` origin/master ` |
30+ | name | description | default |
31+ | --------- | ---------------------------------------------------------------------------------------------------- | ------------ --- |
32+ | ` runners ` | Space-separated list of pronto runners to run. Must be the preinstalled runners from the list above. | ` rubocop ` |
33+ | ` target ` | The git target pronto will diff against (` -c ` ) | ` origin/master ` |
3434
3535# Secrets
3636
@@ -39,9 +39,9 @@ A GitHub token is available by default when using actions, but you must include
3939Be sure to include the ENV variable in your job step:
4040
4141``` yaml
42- - uses : adwerx /pronto-ruby
43- env :
44- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
42+ - uses : apptweak /pronto-ruby
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4545` ` `
4646
4747That's it!
6666 runs-on: ubuntu-latest
6767 steps:
6868 - uses: actions/checkout@v2
69- - run: git fetch origin master --depth=1
70- - uses: adwerx /pronto-ruby@v2.8
69+ - run: git fetch origin main --depth=1
70+ - uses: apptweak /pronto-ruby@use_head_commit
7171 env:
7272 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7373` ` `
@@ -94,7 +94,7 @@ name: Pronto
9494 - run: git fetch origin master --depth=1
9595 - uses: actions/setup-node@v1
9696 - run: yarn install --ignore-optional --ignore-scripts --frozen-lockfile --non-interactive
97- - uses: adwerx /pronto-ruby@v2.8
97+ - uses: apptweak /pronto-ruby@use_head_commit
9898 with:
9999 runners: eslint_npm # ...
100100 env:
0 commit comments