What is the difference between Q-learning and SARSA?

Although I know that SARSA is on-policy while Q-learning is off-policy, when looking at their formulas it's hard (to me) to see any difference between these two algorithms. According to the book...

Cloning private github repository within organisation in actions

I have 2 private GitHub repositories (say A and B) in the organization (say ORG). Repository A has repository B in requirements.txt: -e [email protected]:ORG/B.git#egg=B And I have the...

Merge PR by Github action if review was approved by a user

Is it possible to configure Github actions workflow to merge pull request if it was approved (submitted review with approve keyword) by one of the users (static fixed list, which can be written in...

GitHub Actions: How to connect to Postgres in GithHub Actions

I am trying GitHub Actions for CI with a Ruby on Rails application. My setup is with VM, not running the Ruby build in a container. This is my workflow yml. It runs all the way without errors...

How to get current branch within github actions

I'm building docker images with Github Actions and want to tags images with branch name, I found only GITHUB_REF variable, but it results in refs/heads/feature-branch-1 and I need only feature-branch-1.

How do I know the total time I used to run workflow in github action?

Each time I create a PR or make commits, I have some workflows running. But since I have a private repo and I get only 2000 min/month for running workflows on Github Actions, I wanted to track...

GitHub Action - AWS CLI

Recently the following GitHub Action has been deprecated with a deletion date already established at end of month (2019-12-31). The issue is, there is no "official" alternative yet (should be...

Using an array of values to repeat a step in GitHub Actions workflow

I am trying to create a GitHub Actions workflow which would collect specific paths changed in last commit and run a step for each of collected paths, if any. Currently, in my workflow I'm creating...

Github action works on push but not scheduled

I am running the example of javascript github actions and it works just fine when I have on: [push] but not when I have on: schedule: - cron: '*/5 * * * *' I expect the github action to...

PDI "Google Spreadsheet Input/Output" plugin compatible with Google Sheets API v4?

I am using the "Google Spreadsheet Input/Output" plugin from the Pentaho Data Integration marketplace, which is no longer maintained. Github repository link. Recently I have received an email from...

Failed to register a ServiceWorker (Flutter)

I'm working on a Flutter Web App and today I got these errors: A bad HTTP response code (404) was received when fetching the script. Uncaught (in promise) TypeError: Failed to register...

Trigger Github Actions only when PR is merged

I have a github actions yaml file as follows: name: Test deployment on: pull_request: branches: - master jobs: deploy: runs-on: ubuntu-18.04 steps: - name: Random name ...

Github Actions: how to run a workflow created on a non-master branch from the workflow_dispatch event?

Can someone help me understand the behaviour of the Github Actions tab? As somebody new to Actions working on a third party repo I would like to be able to create an action on a branch and execute...

Composite Run Steps GitHub Actions error: 'An action could not be found at the URI'

I am trying to use a composite run steps action on GitHub Actions, as described here, in order to reuse them in different workflows. However, I am getting the error: An action could not be found...

Deleting stale checks on github

I have ended up with some stale checks, mostly as outcome of renaming/refactoring workflows, and I'd like to remove the stale ones, but github doesn't seem to expose any button/api. How can I do...

Using GitHub Actions to automatically update the repo's submodules

Title says it all. I tried using a bunch of different git commands like git submodule update --remote --merge and git submodule foreach git pull origin master which work fine on my computer, but...

Which branch should workflow files be located on for GitHub Actions to execute them?

I have created on my main branch with on: push: branches: [ test ] I have noticed, that while I can trigger it manually, and it will work, it will not actually trigger if I push to...

Why am I getting "Unexpected value ''" error in this GitHub action?

I have a GitHub action step like this (extracted from a larger test.yml file): steps: - name: Parse shell: bash env: TYPE: ${{matrix.package-type}} BV:...

Pip 21.1 can't import InvalidSchemeCombination

At work, we use Github actions to build and test our Pull Requests before they can be approved. On Friday afternoon, everything was working just fine. On Monday morning, all tests were failing...

Failed to find "gl.h" on macOS 11.3

I've got XCode 12.5 up and running on macOS 11.3 (M1 chip) in Github Actions as a self-hosted runner. While my macOS workflow is able to find gl.h in the github-hosted machine just fine, my own...

How can I get the total build time of a GitHub action workflow?

Is there any way to get the total build time of a GitHub action workflow? I did not find anything related to this in GitHub API and GraphQL.

Whats is the difference between repository_dispatch and workflow_dispatch in Github Actions?

Please explain the difference between these 2 event triggers with some real world example.

Nextjs automatic deployment to a cpanel using github actions

I have successfully deployed a static html, css site to my "Bluehost" cPanel using GitHub actions, when I tried to deploy my Next.js app I failed, during the first try I get a plain web page with...

How can I connect GitHub actions with AWS deployments without using a secret key?

I'd like to be able to use GitHub Actions to be able to deploy resources with AWS, but without using a hard-coded user. I know that it's possible to create an IAM user with a fixed credential, and...

How can I calculate the thumbprint of an OpenID Connect server?

When creating an OpenID Connect Provider (for e.g. AWS), I need to specify a thumbprint for the connector. What is it, and how do I get it? E.g. from...

Why does `exec bash` not work in a CI pipeline?

I have written a github workflow file. I want to run a python program in github actions to validate few changes. I have one environment.yml file which contains all conda environment dependencies...

npm ci can only install packages with an existing package-lock.json or npm-shrinkwrap.json with lockfileVersion >= 1

This is the issue that I am facing when running the command npm ci to install dependencies in my GitHub Action file. I am working on an expo managed app and using GitHub Actions as a CI for...

How to run tests in a multimodule Go project

I'm learning Go with the specialization Programming with Google Go. It has several courses, each of which has several modules. My project looks like the following (made with...

The unauthenticated git protocol on port 9418 is no longer supported

I have been using github actions for quite sometime but today my deployments started failing. Below is the error from github action logs Command: git Arguments: ls-remote --tags --heads...

OpenIDConnect provider's HTTPS certificate doesn't match configured thumbprint

- name: Configure AWS credentials uses: aws-actions/[email protected] with: role-to-assume: ${{secrets.ARN_GITHUB_ACTIONS_ROLE_UAT}} aws-region:...