-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automate salt-server-list management (#343)
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Update Server List | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-server-list: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Update salt-server-list.rst | ||
run: | | ||
wget --quiet -O docs/salt-server-list.rst https://salt-public.psf.io/salt-server-list.rst | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: Update docs/salt-server-list.rst | ||
branch: salt-server-list | ||
delete-branch: true | ||
title: 'Update docs/salt-server-list.rst' | ||
body: | | ||
Update detected from https://salt-public.psf.io/salt-server-list.rst |