Update dependabot.yml #353
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
name: Save repolist | ||
on: push | ||
jobs: | ||
Repo-list: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3.0.2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '14' | ||
- run: npm install -g bats | ||
- run: bats -v | ||
# Create raw list of ALL repos in comma delimited format | ||
- name: Repo-List-Generator | ||
id: repo | ||
uses: yi-Xu-0100/repo-list-generator@vlatest | ||
# Now that its saved we can use an action to replace .settings since we don't want that one in the list. | ||
- name: Find-and-replace settings | ||
uses: mad9000/actions-find-and-replace-string@latest | ||
id: settings | ||
with: | ||
source: ${{ steps.repo.outputs.repoList_PRIVATE }} | ||
find: ".settings," | ||
replace: '' | ||
- name: Write to file | ||
uses: DamianReeves/write-file-action@master | ||
with: | ||
contents: ${{ steps.settings.outputs.value }} | ||
path: current-repos.md | ||
write-mode: overwrite | ||
# Now that its saved replace put Bearsampp in front of aetray | ||
- name: Find and Replace | ||
uses: jacobtomlinson/gha-find-replace@latest | ||
id: gha | ||
with: | ||
find: "aetraymenu" | ||
replace: ",aetraymenu" | ||
include: current-repos.md | ||
# Now put Bearsampp in front of .teams | ||
- name: Find and Replace | ||
uses: jacobtomlinson/gha-find-replace@latest | ||
id: gha | ||
Check failure on line 47 in .github/workflows/list-repos.yml GitHub Actions / Save repolistInvalid workflow file
|
||
with: | ||
find: ".teams" | ||
replace: "Bearsampp/,teams\n" | ||
include: current-repos.md | ||
# Now that its saved replace , with eol | ||
- name: Find and Replace | ||
uses: jacobtomlinson/gha-find-replace@latest | ||
id: gha2 | ||
with: | ||
find: "," | ||
replace: "\nBearsampp/" | ||
include: current-repos.md | ||
# Now that everything is done lets actually physically create the file. | ||
- uses: GuillaumeFalourd/git-commit-push@main | ||
with: | ||
files: current-repos.md |