In case someone had same issues as me: 1. job not running: In the video he shows that the job is scheduled every 2 hours but in the repository code is actually set for every Monday, change code to run more often if you want to test it 2. error 128, saying can't connect to repo when doing the build: Go to "Settings" > "Actions" > "General" > and in "Workflow permissions" change to > "Read and write permissions" > then "Save" Hopefully it will work now, it does for me :)
I never thought I could use github actions for other tasks different from CI/CD this video was the spark for me to dig deeper into github actions, if you could do more videos on this topic it will be great. Thanks a lot.
Wow. This was really helpful, thanks a lot! I didn't know we could also use Python for GitHub actions, although I am more of a JS guy (I've made a few workflows in the past with it but config was hell)
So you run setup py and pip install every time? There's no caching or anything? I'm trying to implement similar thing with docker and dockerized action.
Thanks a lot for the video!! may i ask a simple question ... how to start running the workflow? I have set up most of the thing according to the video , but it is not running...
HI Patrick, thanks for a great tutorial. I was able to replicate everything you showed and I will be using this to run a Python script we use to tag orders in our Shopify site. My one question is around the secrets code in the actual python script. I need to use a secret to connect to the Shopify API and it is very clear to me how this will run when running as a GitHub action but since that secret doesn't exist locally I think it will fail when I am doing local testing. Have you done something like this before? My initial thought was to change the python code a bit to have it look for the secret in a config file held locally (that I don't sync use .git ignore) otherwise read from the environment variable. Any advice you can share here?
Many thanks for your video, I have a question. I had an error and I checked on GitHub Actions that my action ran well until push changes. It says remote: Write access to repository not granted, code 128. In the video you said something about secrets.GITHUB_TOKEN. is this the reason of my error? Thanks in advance,
With this new Github action discovery. 😂 I’m going to put my FTP server into casket for good which i used to run python code. Damn my manager was struggling with manual updating code in ftp server now i could just directly execute code here. ❤❤❤❤ This tutorial definitely made my day ❤❤
Hi Nawaho, It enables Patrick to use his secret API key (like a password) even though all the code is public. It's like secretly storing the password/key. And, if I wanted to run this in my github account, I would need to make my own account with the website and get my own API key, and put that in my own secrets - which only I have access to. I hope this helps (even though this is an old question).
Would it be possible to provide input to the actions like passing attributes and methods as arbitrary arguments. eg: in dt.datetime.today() can I relpace 'datetime' or 'today()' with an argument after the period. like: dt.arg.today(), dt.datetime.arg with eval/exec it's possible but very unsafe eval(f"dt.{arg}.today()")
You can put your args in a json document in the same repo and read them with python. You can then change the args by commits. But don't store secrets there.
Wow I only recognized GitHub actions as a CD tool. Did not realize it can be on any automated basis. That changes things. Very cool.
In case someone had same issues as me:
1. job not running:
In the video he shows that the job is scheduled every 2 hours but in the repository code is actually set for every Monday, change code to run more often if you want to test it
2. error 128, saying can't connect to repo when doing the build:
Go to "Settings" > "Actions" > "General" > and in "Workflow permissions" change to > "Read and write permissions" > then "Save"
Hopefully it will work now, it does for me :)
I just love this tutorial. Perfectly paced and almost covers everything. Thanks. :)
I never thought I could use github actions for other tasks different from CI/CD this video was the spark for me to dig deeper into github actions, if you could do more videos on this topic it will be great. Thanks a lot.
This is a wonderful tutorial. Thank you very much. It's really going to be incredibly helpful to me.
Great tutorial. I am going to use it to automatically update some dashboards I have. Are you using a custom theme for your terminal? It looks nice
iTerm2 with Dracula theme!
great tutorial! thank you a lot to share your knowledge 👏👏
Can you make a video about containerized scripts on remote servers? Specifically uploading them to servers and then updating them? Thanks!
Wow. This was really helpful, thanks a lot! I didn't know we could also use Python for GitHub actions, although I am more of a JS guy (I've made a few workflows in the past with it but config was hell)
Thank you for such a useful and informative tutorial. Super helpful!
So you run setup py and pip install every time? There's no caching or anything? I'm trying to implement similar thing with docker and dockerized action.
Thanks a lot for the video!! may i ask a simple question ... how to start running the workflow? I have set up most of the thing according to the video , but it is not running...
HI Patrick, thanks for a great tutorial. I was able to replicate everything you showed and I will be using this to run a Python script we use to tag orders in our Shopify site. My one question is around the secrets code in the actual python script. I need to use a secret to connect to the Shopify API and it is very clear to me how this will run when running as a GitHub action but since that secret doesn't exist locally I think it will fail when I am doing local testing. Have you done something like this before? My initial thought was to change the python code a bit to have it look for the secret in a config file held locally (that I don't sync use .git ignore) otherwise read from the environment variable. Any advice you can share here?
Super helpful demonstration! Thanks so much!
Really very nice and helpful
I never thought we could run python scripts too 😅
Glad I could help!
confused, where github token
Do you have a written tutorial for this?
Fantastic video! Thank you!
We can make free Proxy list that updates every 10 minutes, using actions...
Many thanks for your video, I have a question. I had an error and I checked on GitHub Actions that my action ran well until push changes. It says remote: Write access to repository not granted, code 128. In the video you said something about secrets.GITHUB_TOKEN. is this the reason of my error? Thanks in advance,
This is fire!
With this new Github action discovery. 😂
I’m going to put my FTP server into casket for good which i used to run python code.
Damn my manager was struggling with manual updating code in ftp server now i could just directly execute code here. ❤❤❤❤
This tutorial definitely made my day ❤❤
could you please clarify the query...can we run python script automatically (every 10 minutes) to write data in Google sheets...
What a great tutorial! I couldn't seem to find your tweet-scraper repo, though. Is it still available?
So this script is running from the GitHub side and not the local computer?
Very cool. I think I’ll use it to purge the cloudflare cache via Api
Legend!
How can I interact with databases with Github actions? Do I need a cloud DB or a local ones also work?
how we can use multiple github accounts at same computer
My Action.yml doesn't seem to run at all?
there's a way to force the execution of the job from Github?
Masterpiece. Thank you!
Will you tech encryption and decryption of python3 code
interesting video and clear cut simple explanation
Is it possible to run colab notebook?
Hey, great stuff, thanks! But can someone explain to me what is the purpose of adding actions secret (SOME_SECRET)?
Hi Nawaho,
It enables Patrick to use his secret API key (like a password) even though all the code is public. It's like secretly storing the password/key.
And, if I wanted to run this in my github account, I would need to make my own account with the website and get my own API key, and put that in my own secrets - which only I have access to.
I hope this helps (even though this is an old question).
This video is worthy of a billion views! Really helpful.
Great Tutorial!
Can we run selenium headless?
Thank you so much ❤️
Thank you.
Very interesting 👌
Awesome 👍
Thanks 🤗
wszystko za szybko, nie rozumiem co Ty robisz.
Super cool 👌
Thank you!
@@patloeber now I'm gonna try to automate some email tasks 😂 👌
Let me know if it worked!
@@patloeber ofc
👍🐶
Dein Akzent triggert mich so hart
Alter
No offense
Would it be possible to provide input to the actions like passing attributes and methods as arbitrary arguments.
eg: in dt.datetime.today()
can I relpace 'datetime' or 'today()' with an argument after the period.
like: dt.arg.today(), dt.datetime.arg
with eval/exec it's possible but very unsafe
eval(f"dt.{arg}.today()")
You can put your args in a json document in the same repo and read them with python. You can then change the args by commits.
But don't store secrets there.