Skip to content

Commit

Permalink
add workflow to sync sponsors in README.md, #62
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalets committed Oct 23, 2023
1 parent f186f5f commit 0c17bc8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sponsors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Update sponsors in README.md
name: sponsors
on:
workflow_dispatch:
schedule:
# run every day at 00:00
- cron: 0 0 * * 0-6

jobs:
sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Update sponsors in README.md
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
file: README.md

- name: Push changes to main branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main
folder: '.'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## dev
* add workflow to sync sponsors in README.md, [#62](https://github.com/vitalets/playwright-bdd/issues/62)
* support custom fixtures in cucumber-style steps

## 5.4.0
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@ Feel free to share feedback in [issues](https://github.com/vitalets/playwright-b
## Changelog
Inspect the latest updates in [changelog](https://vitalets.github.io/playwright-bdd/#/changelog).

## Sponsors ❤️

<!-- sponsors -->
<!-- sponsors -->

## License
[MIT](https://github.com/vitalets/playwright-bdd/blob/main/LICENSE)

0 comments on commit 0c17bc8

Please sign in to comment.