@@ -20,30 +20,13 @@ permissions:
2020 contents : write
2121
2222jobs :
23- # The purpose of this job is to output the current step number
24- # (retreived from the step file). This output variable can
25- # then be referenced in other jobs and used in conditional
26- # expressions.
27- get_current_step :
28- name : Check current step number
29- runs-on : ubuntu-latest
30- steps :
31- - name : Checkout
32- uses : actions/checkout@v4
33- - id : get_step
34- run : echo "current_step=$(cat ./.github/steps/-step.txt)" >> $GITHUB_OUTPUT
35- outputs :
36- current_step : ${{ steps.get_step.outputs.current_step }}
37-
38- on_Copilothubsuggestions :
23+ on_Copilot_hub_suggestion :
3924 name : On Copilot hub suggestion
40- needs : get_current_step
4125
4226 # We will only run this action when:
4327 # 1. This repository isn't the template repository.
4428 # Reference: https://docs.github.com/en/actions/learn-github-actions/contexts
4529 # Reference: https://docs.github.com/en/actions/learn-github-actions/expressions
46- if : ${{ !github.event.repository.is_template && needs.get_current_step.outputs.current_step == 3 }}
4730
4831 # We'll run Ubuntu for performance instead of Mac or Windows.
4932 runs-on : ubuntu-latest
5538 with :
5639 fetch-depth : 0 # Let's get all the branches.
5740
58- # Verify the skills member function is present.
59- - name : Check package for axios version 0.21.2
60- uses : skills/action-check-file@v1
61- with :
62- file : " member.js"
63- search : " skillsMember"
64-
65- # In README.md, switch step 3 for step 4.
6641 - name : Update to step 4
6742 uses : skills/action-update-step@v2
6843 with :
0 commit comments