title: Concourse resource is not used error message
body: <p>I have a concourse pipeline that bumps a semver, publishes a release to a GitHub-release resource and publishes a message using a slack-notification resource.  All is fine until I try to start using on_failure: and on_success: steps.</p>
  
  <p>I moved the slack put to on_success without issue.  But when I try to move the GitHub-release put to on_success  set-pipeline returns the error:</p>
  
  <p>resource 'github-release' is not used</p>
  
  <p>I tried putting it in both on_failure and on_success but I still get the message. </p>
  
  <p>Is there a way to only publish this release when the build is good?</p>