Skip to content

Commit

Permalink
Use require_relative to load files needed for the stale action
Browse files Browse the repository at this point in the history
  • Loading branch information
mgriffin committed Oct 6, 2023
1 parent 71c829d commit 473a7fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/actions/comment
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

require "./lib/github"
require_relative "../lib/github"

stale_label_id = "LA_kwDOEfmk4M8AAAABYVCU-g"
owner = "community"
Expand Down
4 changes: 2 additions & 2 deletions .github/lib/github.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
require "faraday"
require "json"

require "./lib/categories"
require "./lib/discussions"
require_relative "./categories"
require_relative "./discussions"

# A class to make it easier to send requests to the GitHub GraphQL endpoint
class GitHub
Expand Down

0 comments on commit 473a7fa

Please sign in to comment.