chore(deps): ⬆️ bump actions/checkout from 3 to 4 #826
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: 'test' | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
run: | |
name: Repo list generator | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Get Repo List for user and GITHUB_TOKEN | |
id: repo | |
uses: ./ | |
with: | |
block_list: 'test' | |
- name: Echo Output for user and GITHUB_TOKEN | |
run: | | |
echo repo: ${{steps.repo.outputs.repo}} | |
echo repoList: ${{steps.repo.outputs.repoList}} | |
echo repoList_ALL: ${{steps.repo.outputs.repoList_ALL}} | |
echo repoList_PRIVATE: ${{steps.repo.outputs.repoList_PRIVATE}} | |
echo repoList_FORK: ${{steps.repo.outputs.repoList_FORK}} | |
echo privateList: ${{steps.repo.outputs.privateList}} | |
echo forkList: ${{steps.repo.outputs.forkList}} | |
echo emptyList: ${{steps.repo.outputs.emptyList}} | |
echo archivedList: ${{steps.repo.outputs.archivedList}} | |
- name: Get Repo List for user and REPO_TOKEN | |
id: repo1 | |
uses: ./ | |
with: | |
my_token: ${{ secrets.REPO_TOKEN }} | |
block_list: 'test' | |
- name: Echo Output for user and REPO_TOKEN | |
run: | | |
echo repo: ${{steps.repo1.outputs.repo}} | |
echo repoList: ${{steps.repo1.outputs.repoList}} | |
echo repoList_ALL: ${{steps.repo1.outputs.repoList_ALL}} | |
echo repoList_PRIVATE: ${{steps.repo1.outputs.repoList_PRIVATE}} | |
echo repoList_FORK: ${{steps.repo1.outputs.repoList_FORK}} | |
echo privateList: ${{steps.repo1.outputs.privateList}} | |
echo forkList: ${{steps.repo1.outputs.forkList}} | |
echo emptyList: ${{steps.repo.outputs.emptyList}} | |
echo archivedList: ${{steps.repo.outputs.archivedList}} | |
- name: Get Repo List for organization with GITHUB_TOKEN | |
id: repo2 | |
uses: ./ | |
with: | |
user: yi-xu-test-organization | |
block_list: 'test-repo' | |
- name: Echo Output for organization with GITHUB_TOKEN | |
run: | | |
echo repo: ${{steps.repo2.outputs.repo}} | |
echo repoList: ${{steps.repo2.outputs.repoList}} | |
echo repoList_ALL: ${{steps.repo2.outputs.repoList_ALL}} | |
echo repoList_PRIVATE: ${{steps.repo2.outputs.repoList_PRIVATE}} | |
echo repoList_FORK: ${{steps.repo2.outputs.repoList_FORK}} | |
echo privateList: ${{steps.repo2.outputs.privateList}} | |
echo forkList: ${{steps.repo2.outputs.forkList}} | |
echo emptyList: ${{steps.repo.outputs.emptyList}} | |
echo archivedList: ${{steps.repo.outputs.archivedList}} | |
- name: Get Repo List for organization and REPO_TOKEN | |
id: repo3 | |
uses: ./ | |
with: | |
my_token: ${{ secrets.REPO_TOKEN }} | |
user: yi-xu-test-organization | |
block_list: 'test-repo' | |
- name: Echo Output for organization and REPO_TOKEN | |
run: | | |
echo repo: ${{steps.repo3.outputs.repo}} | |
echo repoList: ${{steps.repo3.outputs.repoList}} | |
echo repoList_ALL: ${{steps.repo3.outputs.repoList_ALL}} | |
echo repoList_PRIVATE: ${{steps.repo3.outputs.repoList_PRIVATE}} | |
echo repoList_FORK: ${{steps.repo3.outputs.repoList_FORK}} | |
echo privateList: ${{steps.repo3.outputs.privateList}} | |
echo forkList: ${{steps.repo3.outputs.forkList}} | |
echo emptyList: ${{steps.repo.outputs.emptyList}} | |
echo archivedList: ${{steps.repo.outputs.archivedList}} |