You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the README states to open a new issue for more Output Variables
could you provide a variable to see what kind of files have been changed
use case
I would like to check if the list of new commits includes '.cpp' files
# example with a made up variable called 'file_changes_include'
- name: New commits found and it includes '.cpp' changesif: | (steps.sync.outputs.has_new_commits == 'true' && steps.sync.outputs.file_changes_include == '*cpp*')run: | echo "New commits were found to sync." make
PS: The action works very well, a good job of you to make it available to the public.
The text was updated successfully, but these errors were encountered:
the git_log_format_args with --pretty=format:"" --patch --name-only shows me the files of interest in the logs, is there any way to access them in later steps so I can read out the information I want?
steps:
- uses: actions/checkout@v3
- uses: aormsby/Fork-Sync-With-Upstream-action@mainid: syncwith:
# rebase the local branch on top of the remote changesgit_config_pull_rebase: truetarget_sync_branch: testingtarget_repo_token: ${{ secrets.GITHUB_TOKEN }}# listgit_log_format_args: --pretty=format:"" --patch --name-only# force push, because of the rebasetarget_branch_push_args: --forceupstream_sync_branch: masterupstream_sync_repo: 0ad/0adupstream_pull_args: --ff --no-edittest_mode: false
description
Output Variables
use case
PS: The
action
works very well, a good job of you to make it available to the public.The text was updated successfully, but these errors were encountered: