20 ms·
Actions have special integration with GitHub (e.g. they can annotate the pull request review UI) using an API. If you forgo that integration, then you can absol
by briansmith 1y ago
Actions have special integration with GitHub (e.g. they can annotate the pull request review UI) using an API. If you forgo that integration, then you can absolutely use GitHub Actions like "a container you run scripts in." This is the advice that is usually given in every thread about GitHub Actions.
- byroot 1y agoThat helps a bit but doesn't solve everything. If you want to make a CI performant, you'll need to use some of its features like caches, parallel workers, etc. And GHA usability really fall short there. The only reason I put up with it is that it's free for open source projects and integrated in GitHub, so it took over Travis-ci a few years ago.
- mubou 1y agoDevil's advocate: They could make the github CLI capable of doing all of those things (if it's not already), and then the only thing the container needs is a token.
- pinkgolem 1y agoThere are multiple ways you can do this already from within a script
- baq 1y agoAh, the Dropbox comment. > For a Linux user, you can already build such a system yourself quite trivially by getting an FTP account, mounting it locally with curlftpfs, and then using SVN or CVS on the mounted filesystem. From Windows or Mac, this FTP account could be accessed through built-in software.
- voganmother42 1y agoIve had good luck using: https://github.com/actions/github-script https://github.com/actions/github-script When the cli didnt have support for what I needed
- pinkgolem 1y agoi just told the op that there are multiple ways to archive that without using api keys when in a script. one of them beeing echoing text to a file. to me, your comparison makes no sense.