Skip to content

Commit

Permalink
feat: fix update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilselby88 committed Nov 4, 2023
1 parent 8137c51 commit f3ad9dc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/fileUpdater/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,19 @@ inputs:
runs:
using: 'composite'
steps:
- name: Checkout repository
- name: Checkout target repository
uses: actions/checkout@v4
with:
repository: ${{ inputs.repository }}
ref: main
fetch-depth: 0
token: ${{ inputs.token }}
- name: debug
run: |
echo ${{ github.action_path }}
shell: bash
- name: Checkout scaffolder inside target
uses: actions/checkout@v4
with:
path: scaffolder
- name: Update files
run: repo-scaffolder/.github/fileUpdater/update.sh ${{ inputs.find }} ${{ inputs.replace }} ${{ inputs.file }}
run: scaffolder/.github/fileUpdater/update.sh ${{ inputs.find }} ${{ inputs.replace }} ${{ inputs.file }}
shell: bash
- name: Create pull request
uses: peter-evans/create-pull-request@v5
Expand Down

0 comments on commit f3ad9dc

Please sign in to comment.