You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: file_fetcher.rb
    path of file: ./repos/dependabot-core/github_actions/lib/dependabot/github_actions
    
    the code of the file until where you have to start completion: # typed: strict
# frozen_string_literal: true

require "sorbet-runtime"

require "dependabot/file_fetchers"
require "dependabot/file_fetchers/base"

module Dependabot
  module GithubActions
    class FileFetcher 
    
      def fetch_files
        fetched_files = []
        fetched_files += correctly_encoded_workflow_files

        return fetched_files if fetched_files.any?

        if incorrectly_encoded_workflow_files.none?
          expected_paths =
            if directory == "/"
              File.join(directory, "action.yml") + " or /.github/workflows/<anything>.yml"
            else
              File.join(directory, "<anything>.yml")
            end