actionsflow/actionsflow-workflow-default

Action executions are suspended

TonnyL opened this issue · 5 comments

Screen Shot 2021-01-24 at 13 49 12

Screen Shot 2021-01-24 at 13 53 31

hamen commented

I also got an email from github that notified me that I burnt through all my free build minutes for January 🤦🏻‍♂️ A few of the Acrionsflow builds lasted hours before failing 🤦🏻‍♂️ Ouch

Workaround: I made a little change into my .github/workflows/actionsflow.yml to downgrade to old act version.

       - name: Setup act
         uses: actionsflow/setup-act-for-actionsflow@v1
+        with:
+          version: 0.2.17

And, I also set Github Actions timeout to 3min just in case.

 jobs:
   run:
     runs-on: ubuntu-latest
+    timeout-minutes: 3

Looks like the issue is in actionsflow/setup-act-for-actionsflow — when it initializes act, it's not creating the ~/.actrc file. It should create the file and write something in it, based on one of the three choices (large, medium or micro): https://github.com/nektos/act/blob/56ec36726b384e2f860bbc5b5a9170a3d0c9f511/cmd/root.go#L96-L101

Note that I think the last entry for the medium option is missing the -P prefix

Downgrading the default version to 0.2.18, and I'll fix the 0.2.19 issue~

It's ok now, I have fix the act 0.2.19 issues, actionsflow/setup-act-for-actionsflow#1

The v1 has already alias to the latest release, so you don't need do anything.

Feel free for further issues, thanks~