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

[Bug]: Forked repository automatically launches demo-build-distribution (and fails) #205

Closed
1 task done
julien-deramond opened this issue Jun 30, 2022 · 1 comment · Fixed by #215
Closed
1 task done
Assignees
Labels
🐞 bug Something isn't working

Comments

@julien-deramond
Copy link
Contributor

Prerequisites

Your test device

N/A

OS Version

N/A

App version

N/A

Describe the issue

I have forked this repo in https://github.com/julien-deramond/ods-android. Each day, demo-build-distribution is run (source: https://github.com/julien-deramond/ods-android/actions/workflows/demo-build-distribution.yml) and fails.

Expected Behavior

demo-build-distribution doesn't fail or is not launched for a fork (depending on what it does)

@julien-deramond julien-deramond added 🐞 bug Something isn't working 🔍 triage A new issue that needs to be treated labels Jun 30, 2022
@julien-deramond
Copy link
Contributor Author

julien-deramond commented Jun 30, 2022

It could be done like this:

jobs:
  build:
    runs-on: ubuntu-latest
    if: github.repository == 'Orange-OpenSource/ods-android'

florentmaitre added a commit that referenced this issue Jul 8, 2022
…ld-distribution

[#205] Limit `demo-build-distribution` workflow to main 'ods-android' repository
@B3nz01d B3nz01d assigned julien-deramond and unassigned B3nz01d Jul 13, 2022
@B3nz01d B3nz01d removed the 🔍 triage A new issue that needs to be treated label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants