Skip to content

Commit

Permalink
New readme (#597)
Browse files Browse the repository at this point in the history
* new readme

* add packages list

* update example

* add package list generator

* update readme and example to match the guide

* fix readme urls

* update packages list

* fix readme

* format example

* Update README.md

Co-authored-by: Feliks Pobiedziński <[email protected]>

* fixes for CR

* add update packages list action

* fixes for CR

---------

Co-authored-by: Feliks Pobiedziński <[email protected]>
  • Loading branch information
mat-hek and FelonEkonom authored Sep 26, 2023
1 parent 6afd4b3 commit 53598cc
Show file tree
Hide file tree
Showing 5 changed files with 627 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ locals_without_parens =
[
inputs: [
"{lib,test,config,benchmark}/**/*.{ex,exs}",
"mix.exs"
"*.exs"
],
locals_without_parens: locals_without_parens,
export: [
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/update-packages-list.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Update packages list
on:
schedule:
- cron: '0 0 1 1-12/1 *' # Run every month
workflow_dispatch: {}

jobs:
test:
runs-on: ubuntu-latest
name: Update packages list in README
steps:
- uses: actions/checkout@v3
- uses: erlef/setup-beam@v1
with:
otp-version: '26.1'
elixir-version: '1.15.6'
- name: Update packages list
env:
GH_TOKEN: ${{ secrets.BOT_TOKEN }}
run: |
elixir update_packages_list.exs
git config user.name 'Membrane Bot'
git config user.email '[email protected]'
git checkout -B auto-update-packages-list
git add README.md
git commit -m "auto update packages list in readme" --allow-empty
git push -f -u origin auto-update-packages-list
gh pr create -B master -H auto-update-packages-list --title 'Auto update packages list' --body ''
Loading

0 comments on commit 53598cc

Please sign in to comment.