Files
Android/.github/workflows/contributors-to-file.yml
dependabot[bot] f1fd813ddc Bump actions/checkout from 6.0.3 to 7.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6.0.3...v7.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-25 02:53:16 +00:00

35 lines
969 B
YAML

name: Write contributors to file
on:
workflow_dispatch:
schedule:
- cron: '3 4 * * 0'
permissions:
contents: write
pull-requests: write
jobs:
contributors_to_file:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
name: Write contributors to file
steps:
- name: Checkout repo
id: checkout
uses: actions/checkout@v7.0.0
- name: Update contributors
id: update_contributors
uses: TheLastProject/contributors-to-file-action@v3.2.0
with:
file_in_repo: app/src/main/res/raw/contributors.txt
min_commit_count: 5
- name: Remove gradle-update-robot from contributors (not a person)
run: "sed -i '/^gradle-update-robot$/d' app/src/main/res/raw/contributors.txt"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8.1.1
with:
title: "Update contributors"
commit-message: "Update contributors"
branch-suffix: timestamp