Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .github/actions/sync/shared-config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def git(*args)
check_prs_workflow_yaml,
].freeze
stale_issues_and_prs_workflow_yaml = ".github/workflows/stale-issues-and-prs.yml"
zizmor_yml = ".github/zizmor.yml"
codeql_extensions_homebrew_actions_yml = ".github/codeql/extensions/homebrew-actions.yml"
brewsh_assets_url = "https://brew.sh"

Expand Down Expand Up @@ -157,8 +156,7 @@ def git(*args)
README.md
].freeze

deprecated_lock_threads = ".github/workflows/lock-threads.yml"
deprecated_stale_issues_workflow_yaml = ".github/workflows/stale-issues.yml"
deprecated_zizmor_yml = ".github/zizmor.yml"

puts "Detecting changes…"
[
Expand All @@ -169,12 +167,10 @@ def git(*args)
rubocop_yaml,
dependabot_yaml,
check_template_rb,
deprecated_lock_threads,
deprecated_stale_issues_workflow_yaml,
deprecated_zizmor_yml,
actionlint_workflow_yaml,
*check_workflow_yamls,
stale_issues_and_prs_workflow_yaml,
zizmor_yml,
codeql_extensions_homebrew_actions_yml,
].each do |path|
target_path = target_directory_path/path
Expand Down Expand Up @@ -267,7 +263,7 @@ def git(*args)
)
when dependabot_yaml, actionlint_workflow_yaml, check_issues_workflow_yaml, check_prs_workflow_yaml,
stale_issues_and_prs_workflow_yaml,
zizmor_yml, codeql_extensions_homebrew_actions_yml
codeql_extensions_homebrew_actions_yml
contents = if path == dependabot_yaml
dependabot_config
else
Expand Down Expand Up @@ -295,7 +291,7 @@ def git(*args)
next if repository_name == ".github"

FileUtils.rm_f target_path
when deprecated_lock_threads, deprecated_stale_issues_workflow_yaml
when deprecated_zizmor_yml
next unless target_path.exist?

git "-C", target_directory, "rm", path
Expand Down
5 changes: 0 additions & 5 deletions .github/zizmor.yml

This file was deleted.

Loading