Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proposal: enhance keep_files key #771

Open
3 tasks done
Rratic opened this issue Jul 25, 2022 · 0 comments
Open
3 tasks done

proposal: enhance keep_files key #771

Rratic opened this issue Jul 25, 2022 · 0 comments
Assignees
Labels

Comments

@Rratic
Copy link

Rratic commented Jul 25, 2022

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

Not to overwrite the .github dir in target branch.

Describe the solution you'd like

Enhance the keep_files key. Enable values like [".github/*"].

Describe alternatives you've considered

  1. Write shell scripts in workflow code.
  2. Move workflow code to master branch.

Additional context

I want to build a github pages mirror (while an master => gh-pages builder is set using this), so someone helped me write a workflow in gh-pages branch. But it worked only once, and I found that the workflow was deleted view here, the first box.

@Rratic Rratic changed the title proposal: keep .github in target branch proposal: enhance keep_files key Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants