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

Revert "Prevent the automated workflow from running in fork" #136

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Dec 14, 2023

Reverts #135

@kstich kstich requested a review from a team as a code owner December 14, 2023 17:21
@kstich kstich requested a review from sugmanue December 14, 2023 17:21
@kstich kstich merged commit 63d3314 into main Dec 14, 2023
7 checks passed
@daddykotex
Copy link
Contributor

it does not work?

@daddykotex
Copy link
Contributor

absolutely sorry for a broken PR, do you know what's wrong?

@daddykotex
Copy link
Contributor

The quotes maybe? https://docs.github.com/en/actions/using-jobs/using-conditions-to-control-job-execution
Their example is like this:

name: example-workflow
on: [push]
jobs:
  production-deploy:
    if: github.repository == 'octo-org/octo-repo-prod'
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v3
        with:
          node-version: '14'
      - run: npm install -g bats

@kstich
Copy link
Contributor Author

kstich commented Dec 14, 2023

Yeah, from the literal docs

However, if you do, you must use single quotes (') around the string. ...
Wrapping with double quotes (") will throw an error.

@kstich kstich deleted the revert-135-dfrancoeur/disable-automated-fork branch April 18, 2024 13:38
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

Successfully merging this pull request may close these issues.

2 participants