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

Action skipped if your source_code_uri is in the form of https://github.com/<org>/<repo>.git #5

Open
technicalpickles opened this issue May 9, 2024 · 0 comments

Comments

@technicalpickles
Copy link

I had this in my gemspec:

Gem::Specification.new do |spec|
  # ...
  spec.homepage = "https://github.com/rubyatscale/singed"
  spec.metadata = {
    "source_code_uri" => "https://github.com/rubyatscale/singed.git",
    "bug_tracker_uri" => "https://github.com/rubyatscale/singed/issues",
    "homepage_uri" => "https://github.com/rubyatscale/singed"
  }
  # ... 
end

Semantically, I'm not sure if the source code URI is intended to be clonable or not, so I used

This ended up generating this workflow YAML which never evaluates to true:

jobs:
  push:
    if: github.repository == 'rubyatscale/singed.git'
    runs-on: ubuntu-latest

That resulted in the workflow being "skipped"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant