Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2ecd06deb6 | ||
|
|
ba98ceed2d | ||
|
|
518dba3e05 | ||
|
|
0389470572 | ||
|
|
8f723a129d |
37
.github/workflows/auto-approve.yml
vendored
37
.github/workflows/auto-approve.yml
vendored
@@ -7,17 +7,26 @@ jobs:
|
|||||||
auto-approve:
|
auto-approve:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: hmarr/auto-approve-action@v2
|
- uses: hmarr/auto-approve-action@v2
|
||||||
if: |
|
if: |
|
||||||
github.actor == 'dependabot[bot]' ||
|
(
|
||||||
github.actor == 'dependabot' ||
|
github.event.pull_request.user.login == 'dependabot[bot]' ||
|
||||||
github.actor == 'dependabot-preview[bot]' ||
|
github.event.pull_request.user.login == 'dependabot' ||
|
||||||
github.actor == 'dependabot-preview' ||
|
github.event.pull_request.user.login == 'dependabot-preview[bot]' ||
|
||||||
github.actor == 'renovate[bot]' ||
|
github.event.pull_request.user.login == 'dependabot-preview' ||
|
||||||
github.actor == 'renovate' ||
|
github.event.pull_request.user.login == 'renovate[bot]' ||
|
||||||
github.actor == 'pyup-bot' ||
|
github.event.pull_request.user.login == 'renovate' ||
|
||||||
github.actor == 'github-actions[bot]' ||
|
github.event.pull_request.user.login == 'github-actions[bot]'
|
||||||
github.actor == 'pre-commit-ci' ||
|
)
|
||||||
github.actor == 'pre-commit-ci[bot]'
|
&&
|
||||||
with:
|
(
|
||||||
github-token: ${{ secrets.PAT_TOKEN }}
|
github.actor == 'dependabot[bot]' ||
|
||||||
|
github.actor == 'dependabot' ||
|
||||||
|
github.actor == 'dependabot-preview[bot]' ||
|
||||||
|
github.actor == 'dependabot-preview' ||
|
||||||
|
github.actor == 'renovate[bot]' ||
|
||||||
|
github.actor == 'renovate' ||
|
||||||
|
github.actor == 'github-actions[bot]'
|
||||||
|
)
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.PAT_TOKEN }}
|
||||||
|
|||||||
2
.github/workflows/auto-merge.yml
vendored
2
.github/workflows/auto-merge.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
github.actor == 'dependabot'
|
github.actor == 'dependabot'
|
||||||
steps:
|
steps:
|
||||||
- name: automerge
|
- name: automerge
|
||||||
uses: pascalgn/automerge-action@v0.14.1
|
uses: pascalgn/automerge-action@v0.14.2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||||
MERGE_METHOD: "rebase"
|
MERGE_METHOD: "rebase"
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -3,7 +3,19 @@
|
|||||||
changed-files
|
changed-files
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
Retrieve all changed, added, modified and deleted files relative to the default branch (`pull_request*` events) or last commit (`push` event).
|
Retrieve all changed files relative to the default branch (`pull_request*` events) or a previous commit (`push` event).
|
||||||
|
|
||||||
|
This includes detecting files that were:
|
||||||
|
|
||||||
|
- Added
|
||||||
|
- Copied
|
||||||
|
- Modified
|
||||||
|
- Deleted
|
||||||
|
- Renamed
|
||||||
|
- Type changed
|
||||||
|
- Unmerged
|
||||||
|
- Unknown
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ fi
|
|||||||
|
|
||||||
if [[ $exit_status -ne 0 ]]; then
|
if [[ $exit_status -ne 0 ]]; then
|
||||||
echo "::warning::Unable to determine the head sha"
|
echo "::warning::Unable to determine the head sha"
|
||||||
echo "::warning::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'"
|
echo "::warning::You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See https://github.com/tj-actions/changed-files#usage"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user