--- name: Test 'on': pull_request: ~ defaults: run: shell: bash jobs: test: runs-on: ubuntu-20.04 steps: - name: already resolved -> nothing to do uses: hendrikmaus/dummy-action@c0077f5d7b6875d22bb5424412019ad4df84488c # v2.1.0 - name: full tag name -> resolve to commit sha uses: hendrikmaus/dummy-action@c0077f5d7b6875d22bb5424412019ad4df84488c - name: full tag name (older tag) -> resolve to commit sha uses: hendrikmaus/dummy-action@10802b643a91b3f3bdda5f7179a73e0bfc29a263 - name: partial tag name -> resolve to latest 2.x commit sha uses: hendrikmaus/dummy-action@c0077f5d7b6875d22bb5424412019ad4df84488c - name: branch -> resolve to tip of branch uses: hendrikmaus/dummy-action@bdf6679a63d06ae36bb7c1c62266dff4412ff58b - name: invalid version -> untouched, error logged uses: hendrikmaus/dummy-action@INVALID - name: additional comment on the end of the line uses: hendrikmaus/dummy-action@c0077f5d7b6875d22bb5424412019ad4df84488c # I am comment, and I am here to stay - name: quoted with single quotes uses: 'hendrikmaus/dummy-action@d7978554106cf5f5ee9c07dc68487f771a2ebcb8' - name: quoted with double quotes uses: "hendrikmaus/dummy-action@d7978554106cf5f5ee9c07dc68487f771a2ebcb8" - name: the yaml key is now also quoted "uses": "hendrikmaus/dummy-action@d7978554106cf5f5ee9c07dc68487f771a2ebcb8" - uses: hendrikmaus/dummy-action@10802b643a91b3f3bdda5f7179a73e0bfc29a263 name: here uses is the first element