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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v2
|
||||
if: |
|
||||
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 == 'pyup-bot' ||
|
||||
github.actor == 'github-actions[bot]' ||
|
||||
github.actor == 'pre-commit-ci' ||
|
||||
github.actor == 'pre-commit-ci[bot]'
|
||||
with:
|
||||
github-token: ${{ secrets.PAT_TOKEN }}
|
||||
- uses: hmarr/auto-approve-action@v2
|
||||
if: |
|
||||
(
|
||||
github.event.pull_request.user.login == 'dependabot[bot]' ||
|
||||
github.event.pull_request.user.login == 'dependabot' ||
|
||||
github.event.pull_request.user.login == 'dependabot-preview[bot]' ||
|
||||
github.event.pull_request.user.login == 'dependabot-preview' ||
|
||||
github.event.pull_request.user.login == 'renovate[bot]' ||
|
||||
github.event.pull_request.user.login == 'renovate' ||
|
||||
github.event.pull_request.user.login == 'github-actions[bot]'
|
||||
)
|
||||
&&
|
||||
(
|
||||
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'
|
||||
steps:
|
||||
- name: automerge
|
||||
uses: pascalgn/automerge-action@v0.14.1
|
||||
uses: pascalgn/automerge-action@v0.14.2
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
|
||||
MERGE_METHOD: "rebase"
|
||||
|
||||
14
README.md
14
README.md
@@ -3,7 +3,19 @@
|
||||
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
|
||||
|
||||
@@ -16,7 +16,7 @@ fi
|
||||
|
||||
if [[ $exit_status -ne 0 ]]; then
|
||||
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
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user